diff options
author | deva <deva> | 2006-04-15 11:08:03 +0000 |
---|---|---|
committer | deva <deva> | 2006-04-15 11:08:03 +0000 |
commit | 2cb888629f5c78507eaa544fc1dbd6404b7327b7 (patch) | |
tree | 7aea2ce0a17e427095b817e32edee303677c8cf5 /client/decoder.h | |
parent | afdd0a07be6a669cdd8343fc033f170395b470c0 (diff) |
*** empty log message ***
Diffstat (limited to 'client/decoder.h')
-rw-r--r-- | client/decoder.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/client/decoder.h b/client/decoder.h index 0913858..6cb6a22 100644 --- a/client/decoder.h +++ b/client/decoder.h @@ -46,16 +46,19 @@ public: void snapshot(char *rgb); + char *pframeAcquire(); + void pframeRelease(); + protected: bool eventFilter(QObject *o, QEvent *e); private: volatile bool running; - char *frame; - QSemaphore semaphore; + QSemaphore closesem; + + QMutex pmutex; + char pframe[DVPACKAGE_SIZE]; // Player frame - char screenshotframe[DVPACKAGE_SIZE]; - QSemaphore screenshotsemaphore; QMutex mutex; }; |