mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 16:08:39 -05:00
DATV demod: some fixes to enhance stability
This commit is contained in:
parent
8c1293e213
commit
2393957834
@ -166,10 +166,13 @@ bool DATVDemod::PlayVideo(bool blnStartStop)
|
||||
return true;
|
||||
}
|
||||
|
||||
m_objRenderThread->setStreamAndRenderer(m_objRegisteredVideoRender,m_objVideoStream);
|
||||
m_objVideoStream->MultiThreaded=true;
|
||||
m_objVideoStream->ThreadTimeOut=5000; //5000 ms
|
||||
m_objRenderThread->start();
|
||||
if(m_objVideoStream->bytesAvailable()>0)
|
||||
{
|
||||
m_objRenderThread->setStreamAndRenderer(m_objRegisteredVideoRender,m_objVideoStream);
|
||||
m_objVideoStream->MultiThreaded=true;
|
||||
m_objVideoStream->ThreadTimeOut=5000; //5000 ms
|
||||
m_objRenderThread->start();
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user