Add wait before re-run a module thread

This commit is contained in:
jfmcarreira committed 2015-11-21 00:19:45 +00:00
1 parent a3c288de29
commit 9c00812f03
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -71,7 +71,10 @@ Bool PlaYUVerAppModuleIf::apply( Bool isPlaying, Bool disableThreads )
{
#ifdef PLAYUVER_THREADED_MODULES
if( !disableThreads )
{
wait();
start();
}
else
#endif
{
+1 -1
View File
@@ -40,7 +40,7 @@ class QAction;
namespace plaYUVer
{
//#define PLAYUVER_THREADED_MODULES
#define PLAYUVER_THREADED_MODULES
class VideoSubWindow;