summaryrefslogtreecommitdiff
path: root/client/decoder.h
diff options
context:
space:
mode:
authordeva <deva>2006-04-10 13:04:31 +0000
committerdeva <deva>2006-04-10 13:04:31 +0000
commit582bcd19d6a58c266f5453961c87acf72fae5353 (patch)
tree5ee3bdc1726d833da65efab320e5eabfcb802e51 /client/decoder.h
parent46b3c21f079a10e1ed072976d355a8026bcb7580 (diff)
*** empty log message ***
Diffstat (limited to 'client/decoder.h')
-rw-r--r--client/decoder.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/client/decoder.h b/client/decoder.h
index ca684ed..3a1b30f 100644
--- a/client/decoder.h
+++ b/client/decoder.h
@@ -28,19 +28,28 @@
#define __MIAV_DECODER_H__
#include <QThread>
+#include <QSemaphore>
+#include "frame.h"
class Decoder : public QThread
{
+Q_OBJECT
public:
Decoder();
~Decoder();
- unsigned char *getFrame();
+ Frame *getFrame();
void run();
+protected:
+ bool eventFilter(QObject *o, QEvent *e);
+
private:
- unsigned char *frame;
+ volatile bool running;
+ volatile bool stopped;
+ Frame *frame;
+ QSemaphore semaphore;
};
#endif/*__MIAV_DECODER_H__*/