diff options
Diffstat (limited to 'src/decoder.h')
-rw-r--r-- | src/decoder.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/decoder.h b/src/decoder.h index fcf61cf..6d50e5b 100644 --- a/src/decoder.h +++ b/src/decoder.h @@ -44,8 +44,6 @@ class Decoder : public Thread { public: Decoder(Error* err, - char *device, - int channel, sem_t *gencode_sem, sem_t *gplayer_sem, Queue<DVFrame> *gencode_queue, @@ -55,7 +53,10 @@ public: ~Decoder(); void run(); - AVFormatContext *fc; +private: + Error *errobj; + AVCodecContext dvcodec; + sem_t *encode_sem; sem_t *player_sem; Queue<DVFrame> *encode_queue; @@ -63,12 +64,9 @@ public: pthread_mutex_t *mutex; volatile int *running; - private: - Error *errobj; - void decode(); }; -#endif +#endif/* __RTVIDEOREC_DECODER_H*/ #endif/*USE_GUI*/ |