Commit 9e84b9a8 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Reset another flag when stopping

parent ab99ce52
......@@ -95,7 +95,7 @@ void* WorkflowRenderer::lock( void* datas )
//If a pause was asked, don't try to start a new render... it could (and would) dead lock...
if ( self->m_pauseAsked == true )
{
qDebug() << "WorkflowRenderer is paused, returning last frame";
qDebug() << "WorkflowRenderer is pausing, returning last frame";
return self->m_lastFrame;
}
//If we're not playing, then where in a paused media player.
......@@ -247,6 +247,7 @@ void WorkflowRenderer::pauseMainWorkflow()
void WorkflowRenderer::mainWorkflowPaused()
{
qDebug() << "Mainworkflow is now paused";
m_paused = true;
m_pauseAsked = false;
emit paused();
......@@ -279,6 +280,7 @@ void WorkflowRenderer::stop()
{
m_isRendering = false;
m_paused = false;
m_pauseAsked = false;
m_mainWorkflow->cancelSynchronisation();
m_mediaPlayer->stop();
m_mainWorkflow->stop();
......
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