Disable threads for modules by default untill syncronization is fully working

This commit is contained in:
jfmcarreira committed 2014-10-20 23:26:41 +01:00
1 parent b43883c72b
commit 44e524ecb7
2 files changed
+6 -2

No files matched your search

+5 -1
View File
@@ -272,7 +272,7 @@ Void ModulesHandle::applyAllModuleIf( PlaYUVerModuleIf *pcCurrModuleIf )
pcCurrModuleIf->m_pcSubWindow[i]->stop();
}
QApplication::setOverrideCursor( Qt::WaitCursor );
for( UInt f = 0; f < numberOfFrames; f++ )
for( UInt f = 1; f < numberOfFrames; f++ )
{
applyModuleIf( pcCurrModuleIf, false, true );
QCoreApplication::processEvents();
@@ -283,6 +283,10 @@ Void ModulesHandle::applyAllModuleIf( PlaYUVerModuleIf *pcCurrModuleIf )
pcCurrModuleIf->m_pcSubWindow[i]->playEvent();
}
}
for( UInt i = 0; i < numberOfWindows; i++ )
{
pcCurrModuleIf->m_pcSubWindow[i]->stop();
}
QApplication::restoreOverrideCursor();
}
}