summaryrefslogtreecommitdiff
path: root/client/decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/decoder.h')
-rw-r--r--client/decoder.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/decoder.h b/client/decoder.h
index 3a1b30f..6638189 100644
--- a/client/decoder.h
+++ b/client/decoder.h
@@ -29,7 +29,7 @@
#include <QThread>
#include <QSemaphore>
-#include "frame.h"
+#include <QMutex>
class Decoder : public QThread
{
@@ -38,7 +38,7 @@ public:
Decoder();
~Decoder();
- Frame *getFrame();
+ char *getFrame();
void run();
@@ -47,9 +47,9 @@ protected:
private:
volatile bool running;
- volatile bool stopped;
- Frame *frame;
+ char *frame;
QSemaphore semaphore;
+ QMutex mutex;
};
#endif/*__MIAV_DECODER_H__*/