diff options
author | Jochen Dolze <vdr@dolze.de> | 2012-02-24 20:16:03 +0100 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2012-02-24 20:16:03 +0100 |
commit | 91b1ad21bcbe1a5041e180d02a8ff5e11e40d463 (patch) | |
tree | 170fa0dcaf18b0b82fa4ccb8248bdb6ff5fc65ba /command/decoder.h | |
parent | 22016dfb79e05cf28c5cac9574649cbb13aabd8a (diff) | |
download | vdr-plugin-markad-91b1ad21bcbe1a5041e180d02a8ff5e11e40d463.tar.gz vdr-plugin-markad-91b1ad21bcbe1a5041e180d02a8ff5e11e40d463.tar.bz2 |
Removed AC3 and MP2 audio decoding support (not needed)
Added logo for ATV and ATV2
Diffstat (limited to 'command/decoder.h')
-rw-r--r-- | command/decoder.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/command/decoder.h b/command/decoder.h index 0ea6e47..707ca56 100644 --- a/command/decoder.h +++ b/command/decoder.h @@ -40,34 +40,21 @@ class cMarkAdDecoder { private: bool skipframes; - int16_t *audiobuf; - int audiobufsize; AVCodec *video_codec; - AVCodecContext *ac3_context; - AVCodecContext *mp2_context; AVCodecContext *video_context; AVFrame *video_frame; int threadcount; int8_t *last_qscale_table; - static int our_get_buffer(struct AVCodecContext *c, AVFrame *pic); - static void our_release_buffer(struct AVCodecContext *c, AVFrame *pic); - - bool SetAudioInfos(MarkAdContext *maContext, AVCodecContext *Audio_Context); bool SetVideoInfos(MarkAdContext *maContext,AVCodecContext *Video_Context, AVFrame *Video_Frame); - bool noticeERRVID; - bool noticeERRMP2; - bool noticeERRAC3; public: bool DecodeVideo(MarkAdContext *maContext, uchar *pkt, int plen); - 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, int Threads); + cMarkAdDecoder(bool useH264, int Threads); ~cMarkAdDecoder(); }; |