Skip to content
Snippets Groups Projects
Unverified Commit 1f324e89 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

dbus: use startShmSink

Change-Id: I06a24efad889587b16f63d137d34e9f8f5786033
parent 95ad7cd0
No related branches found
No related tags found
No related merge requests found
......@@ -89,6 +89,8 @@ Renderer::~Renderer()
} else {
VideoManager::instance().registerSinkTarget(pimpl_->id_, {});
}
#else
VideoManager::instance().startShmSink(pimpl_->id_, false);
#endif // ENABLE_LIBWRAP
pimpl_.reset();
......@@ -113,6 +115,7 @@ Renderer::update(const QString& res, const QString& shmPath)
}
#else // ENABLE_LIBWRAP
pimpl_->renderer->setShmPath(shmPath);
VideoManager::instance().startShmSink(pimpl_->id_, true);
#endif
}
......@@ -230,6 +233,8 @@ RendererPimpl::RendererPimpl(Renderer& linked,
} else {
VideoManager::instance().registerSinkTarget(id_, renderer->target());
}
#else
VideoManager::instance().startShmSink(id_, true);
#endif
thread_.start();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment