summaryrefslogtreecommitdiff
path: root/command/decoder.h
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2010-09-26 00:30:30 +0200
committerJochen Dolze <vdr@dolze.de>2010-09-26 00:30:30 +0200
commit101d294a50e16da992e10363c51b435e6a2fa226 (patch)
treee94bc2bbbf4c3eff48a3532b0ed15176b66dc24a /command/decoder.h
parent05dff1022a467deec38f93b0987db9aeb2b43420 (diff)
downloadvdr-plugin-markad-101d294a50e16da992e10363c51b435e6a2fa226.tar.gz
vdr-plugin-markad-101d294a50e16da992e10363c51b435e6a2fa226.tar.bz2
Added better thread handling in decoder.cpp, added --threads option
Diffstat (limited to 'command/decoder.h')
-rw-r--r--command/decoder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/command/decoder.h b/command/decoder.h
index 4a59883..ff03f6f 100644
--- a/command/decoder.h
+++ b/command/decoder.h
@@ -49,8 +49,8 @@ private:
AVCodecContext *video_context;
AVFrame *video_frame;
+ int threadcount;
int8_t *last_qscale_table;
- int initial_coded_picture;
static int our_get_buffer(struct AVCodecContext *c, AVFrame *pic);
static void our_release_buffer(struct AVCodecContext *c, AVFrame *pic);
@@ -63,7 +63,7 @@ public:
bool DecodeMP2(MarkAdContext *maContext, uchar *espkt, int eslen);
bool DecodeAC3(MarkAdContext *maContext, uchar *espkt, int eslen);
bool Clear();
- cMarkAdDecoder(bool useH264, bool useMP2, bool hasAC3);
+ cMarkAdDecoder(bool useH264, bool useMP2, bool hasAC3, int Threads);
~cMarkAdDecoder();
};