Commit a5eb7318 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

WorkflowRenderer: corrected obvious crash.

parent 782fc8a3
...@@ -150,7 +150,9 @@ WorkflowRenderer::lockVideo( EsHandler *handler, qint64 *pts, size_t *bufferSize ...@@ -150,7 +150,9 @@ WorkflowRenderer::lockVideo( EsHandler *handler, qint64 *pts, size_t *bufferSize
qint64 ptsDiff = 0; qint64 ptsDiff = 0;
MainWorkflow::OutputBuffers* ret; MainWorkflow::OutputBuffers* ret;
if ( m_stopping == false ) if ( m_stopping == true )
return 1;
else
{ {
ret = m_mainWorkflow->getOutput( MainWorkflow::VideoTrack, m_paused ); ret = m_mainWorkflow->getOutput( MainWorkflow::VideoTrack, m_paused );
m_videoBuffSize = (*(ret->video))->nboctets; m_videoBuffSize = (*(ret->video))->nboctets;
......
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