summaryrefslogtreecommitdiff
path: root/client/decoder.h
diff options
context:
space:
mode:
authordeva <deva>2006-04-14 14:37:56 +0000
committerdeva <deva>2006-04-14 14:37:56 +0000
commitafdd0a07be6a669cdd8343fc033f170395b470c0 (patch)
treef5422200c992ae43e9aef42136aab24578fbbfd0 /client/decoder.h
parente5dc1f42337228bf367ae8ea28469a8eef4861bd (diff)
*** empty log message ***
Diffstat (limited to 'client/decoder.h')
-rw-r--r--client/decoder.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/client/decoder.h b/client/decoder.h
index 6638189..0913858 100644
--- a/client/decoder.h
+++ b/client/decoder.h
@@ -31,6 +31,8 @@
#include <QSemaphore>
#include <QMutex>
+#include "dv.h"
+
class Decoder : public QThread
{
Q_OBJECT
@@ -42,6 +44,8 @@ public:
void run();
+ void snapshot(char *rgb);
+
protected:
bool eventFilter(QObject *o, QEvent *e);
@@ -49,6 +53,9 @@ private:
volatile bool running;
char *frame;
QSemaphore semaphore;
+
+ char screenshotframe[DVPACKAGE_SIZE];
+ QSemaphore screenshotsemaphore;
QMutex mutex;
};