diff options
author | Jochen Dolze <vdr@dolze.de> | 2010-03-11 00:04:23 +0100 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2010-03-11 00:04:23 +0100 |
commit | c0c8c2ec49cc6824d1660a35756806bd885aeb4b (patch) | |
tree | 19d6415223cbd0aba8c596ba3105361e302294f2 /decoder.cpp | |
parent | f64031be1c24e2a7dd7a7b02dae47dc2998e651d (diff) | |
download | vdr-plugin-markad-c0c8c2ec49cc6824d1660a35756806bd885aeb4b.tar.gz vdr-plugin-markad-c0c8c2ec49cc6824d1660a35756806bd885aeb4b.tar.bz2 |
Improved H264 handling, added new logos
Diffstat (limited to 'decoder.cpp')
-rw-r--r-- | decoder.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/decoder.cpp b/decoder.cpp index 15d72de..ea0672e 100644 --- a/decoder.cpp +++ b/decoder.cpp @@ -342,8 +342,10 @@ bool cMarkAdDecoder::SetVideoInfos(MarkAdContext *maContext,AVCodecContext *Vide } maContext->Video.Info.Height=Video_Context->height; maContext->Video.Info.Width=Video_Context->width; - - maContext->Video.Info.Pict_Type=Video_Context->coded_frame->pict_type; + if (Video_Context->codec_id!=CODEC_ID_H264) + { + maContext->Video.Info.Pict_Type=Video_Context->coded_frame->pict_type; + } if (DAR) { |