Add support for QtConcurrent

This commit is contained in:
jfmcarreira committed 2015-03-03 00:43:26 +00:00
1 parent fc8e6be9bc
commit 5262b4f14f
4 files changed
+20 -5

No files matched your search

+7
View File
@@ -32,6 +32,7 @@
#elif( QT_VERSION_PLAYUVER == 4 )
#include <QtGui>
#endif
#include "QFuture"
#include "lib/PlaYUVerStream.h"
#include "SubWindowHandle.h"
#include "ViewArea.h"
@@ -83,6 +84,12 @@ private:
Bool m_bIsPlaying;
Bool m_bIsModule;
/**
* Threads variables
* QtConcurrent
*/
QFuture<Void> m_cReadResult;
static Bool guessFormat( QString filename, UInt& rWidth, UInt& rHeight, Int& rInputFormat, UInt& rFrameRate );
/**