Add thread controlling functions for modules

This commit is contained in:
jfmcarreira committed 2017-10-01 04:04:55 +01:00
1 parent b0d5c32099
commit 1d192abcd7
4 files changed
+46 -19

No files matched your search

+9
View File
@@ -58,6 +58,15 @@ Void PlaYUVerAppModuleIf::update()
}
}
Bool PlaYUVerAppModuleIf::isRunning()
{
#ifdef PLAYUVER_THREADED_MODULES
return QThread::isRunning();
#else
return false;
#endif
}
Bool PlaYUVerAppModuleIf::apply( Bool isPlaying, Bool disableThreads )
{
Bool bRet = false;