summaryrefslogtreecommitdiff
path: root/src/decoder.h
diff options
context:
space:
mode:
authordeva <deva>2005-04-13 15:23:19 +0000
committerdeva <deva>2005-04-13 15:23:19 +0000
commitf742dd679138b1e3428b72e8f934fee15ade9ecb (patch)
treeff044d4c71907b097fa87925b487a38d542b5054 /src/decoder.h
parent067f68c8c6118e9f9241e4f0eb872aad4888dba0 (diff)
cleaned up... more needed!
Diffstat (limited to 'src/decoder.h')
-rw-r--r--src/decoder.h12
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*/