Commit e2e58668 authored by Guillaume Roguez's avatar Guillaume Roguez

#29579: video: fix dual sink start

parent 1c21b1cd
......@@ -235,12 +235,14 @@ void VideoReceiveThread::exitConference()
if (!isRunning())
return;
if (sink_.openedName().empty()) {
EXIT_IF_FAIL(sink_.start(), "RX: sink startup failed");
if (attach(&sink_)) {
Manager::instance().getVideoControls()->startedDecoding(id_+"RX", sink_.openedName(), dstWidth_, dstHeight_);
DEBUG("RX: shm sink <%s> started: size = %dx%d",
sink_.openedName().c_str(), dstWidth_, dstHeight_);
}
}
}
void VideoReceiveThread::setRequestKeyFrameCallback(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment