diff options
Diffstat (limited to 'src/decoder.h')
-rw-r--r-- | src/decoder.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/decoder.h b/src/decoder.h index ad323b1..846ac26 100644 --- a/src/decoder.h +++ b/src/decoder.h @@ -23,6 +23,8 @@ #ifndef __RTVIDEOREC_DECODER_H #define __RTVIDEOREC_DECODER_H +#include "error.h" + #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -38,8 +40,9 @@ #include <dvframe.h> class Decoder : public Thread { - public: - Decoder(char *device, +public: + Decoder(Error* err, + char *device, int channel, sem_t *gencode_sem, sem_t *gplayer_sem, @@ -59,6 +62,8 @@ class Decoder : public Thread { volatile int *running; private: + Error *errobj; + void decode(); }; |