Commit d07133d8 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Removed debug texts

parent f96a0d5b
...@@ -117,9 +117,9 @@ void ClipWorkflow::unlock( ClipWorkflow* cw ) ...@@ -117,9 +117,9 @@ void ClipWorkflow::unlock( ClipWorkflow* cw )
//Signal that render has been completed. //Signal that render has been completed.
cw->m_renderWaitCond->wake(); cw->m_renderWaitCond->wake();
qDebug() << "Entering condwait"; // qDebug() << "Entering condwait";
cw->m_waitCond->wait( cw->m_condMutex ); cw->m_waitCond->wait( cw->m_condMutex );
qDebug() << "Leaved condwait"; // qDebug() << "Leaved condwait";
cw->m_stateLock->lockForWrite(); cw->m_stateLock->lockForWrite();
cw->m_state = Rendering; cw->m_state = Rendering;
// { // {
......
...@@ -191,16 +191,16 @@ void TrackWorkflow::stopClipWorkflow( ClipWorkflow* cw ) ...@@ -191,16 +191,16 @@ void TrackWorkflow::stopClipWorkflow( ClipWorkflow* cw )
cw->getState() == ClipWorkflow::Ready || cw->getState() == ClipWorkflow::Ready ||
cw->getState() == ClipWorkflow::EndReached ) cw->getState() == ClipWorkflow::EndReached )
{ {
qDebug() << "Stopping a sleeping / ready / endreached clip. Status == " << cw->getState(); // qDebug() << "Stopping a sleeping / ready / endreached clip. Status == " << cw->getState();
cw->getStateLock()->unlock(); cw->getStateLock()->unlock();
cw->queryStateChange( ClipWorkflow::Stopping ); cw->queryStateChange( ClipWorkflow::Stopping );
cw->wake(); cw->wake();
cw->stop(); cw->stop();
qDebug() << "Stopping sleeping/ready/endreached clip"; // qDebug() << "Stopping sleeping/ready/endreached clip";
} }
else if ( cw->getState() == ClipWorkflow::Rendering ) else if ( cw->getState() == ClipWorkflow::Rendering )
{ {
qDebug() << "Stopping a rendering clipworkflow"; // qDebug() << "Stopping a rendering clipworkflow";
cw->getStateLock()->unlock(); cw->getStateLock()->unlock();
cw->waitForCompleteRender(); cw->waitForCompleteRender();
{ {
...@@ -209,24 +209,24 @@ void TrackWorkflow::stopClipWorkflow( ClipWorkflow* cw ) ...@@ -209,24 +209,24 @@ void TrackWorkflow::stopClipWorkflow( ClipWorkflow* cw )
} }
cw->wake(); cw->wake();
cw->stop(); cw->stop();
qDebug() << "Stopped rendering clipworkflow"; // qDebug() << "Stopped rendering clipworkflow";
} }
else if ( cw->getState() == ClipWorkflow::Initializing ) else if ( cw->getState() == ClipWorkflow::Initializing )
{ {
qDebug() << "Stopping an Initializing clipworkflow"; // qDebug() << "Stopping an Initializing clipworkflow";
cw->getStateLock()->unlock(); cw->getStateLock()->unlock();
cw->waitForCompleteInit(); cw->waitForCompleteInit();
cw->stop(); cw->stop();
qDebug() << "Stopped Initializing clipworkflow"; // qDebug() << "Stopped Initializing clipworkflow";
} }
else if ( cw->getState() == ClipWorkflow::Paused ) else if ( cw->getState() == ClipWorkflow::Paused )
{ {
qDebug() << "Stopping a paused clipworkflow"; // qDebug() << "Stopping a paused clipworkflow";
cw->getStateLock()->unlock(); cw->getStateLock()->unlock();
cw->queryStateChange( ClipWorkflow::Stopping ); cw->queryStateChange( ClipWorkflow::Stopping );
cw->unpause(); cw->unpause();
cw->stop(); cw->stop();
qDebug() << "Stopped a paused clipworkflow"; // qDebug() << "Stopped a paused clipworkflow";
} }
else else
{ {
......
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