Add wait before re-run a module thread

This commit is contained in:
2015-11-21 00:19:45 +00:00
parent a3c288de29
commit 9c00812f03
2 changed files with 4 additions and 1 deletions
+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;