Disable threads for modules by default untill syncronization is fully working
This commit is contained in:
1 parent
b43883c72b
commit
44e524ecb7
2 files changed
+6
-2
No files matched your search
+1
-1
@@ -54,7 +54,7 @@ ADD_DEFINITIONS( "-DPLAYUVER" )
|
||||
######################################################################################
|
||||
ADD_OPTION(PLAYUVER_LONGVERSIONNAME "Use long version name in deb" OFF )
|
||||
ADD_OPTION(PLAYUVER_WERROR "Warnings as errors" OFF )
|
||||
ADD_OPTION(PLAYUVER_THREADED_MODULES "Warnings as errors" ON )
|
||||
ADD_OPTION(PLAYUVER_THREADED_MODULES "Use threads for modules" OFF )
|
||||
ADD_OPTION(PLAYUVER_INSTALL_LIBS "Install PlaYUVer Lib" ON )
|
||||
ADD_OPTION(USE_QT4 "Build with QT4" OFF )
|
||||
ADD_OPTION(USE_OPENCV "Add OpenCV support" OFF )
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user