Add wait before re-run a module thread
This commit is contained in:
@@ -71,7 +71,10 @@ Bool PlaYUVerAppModuleIf::apply( Bool isPlaying, Bool disableThreads )
|
||||
{
|
||||
#ifdef PLAYUVER_THREADED_MODULES
|
||||
if( !disableThreads )
|
||||
{
|
||||
wait();
|
||||
start();
|
||||
}
|
||||
else
|
||||
#endif
|
||||
{
|
||||
|
||||
@@ -40,7 +40,7 @@ class QAction;
|
||||
namespace plaYUVer
|
||||
{
|
||||
|
||||
//#define PLAYUVER_THREADED_MODULES
|
||||
#define PLAYUVER_THREADED_MODULES
|
||||
|
||||
class VideoSubWindow;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user