summaryrefslogtreecommitdiff
path: root/decoder.cpp
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2010-03-17 11:59:36 +0100
committerJochen Dolze <vdr@dolze.de>2010-03-17 11:59:36 +0100
commitc579345b78b87bfbe9b1ce4cbe1be50c0d9dd11a (patch)
tree0d11070937587948790575db9aa1188c62582497 /decoder.cpp
parent216d281a0ea6140a6c1e0190a3ea2ae9ff5e467a (diff)
downloadvdr-plugin-markad-c579345b78b87bfbe9b1ce4cbe1be50c0d9dd11a.tar.gz
vdr-plugin-markad-c579345b78b87bfbe9b1ce4cbe1be50c0d9dd11a.tar.bz2
Hopefully fixed frame counter error
Diffstat (limited to 'decoder.cpp')
-rw-r--r--decoder.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/decoder.cpp b/decoder.cpp
index 8d98183..d2d8d18 100644
--- a/decoder.cpp
+++ b/decoder.cpp
@@ -347,10 +347,6 @@ bool cMarkAdDecoder::SetVideoInfos(MarkAdContext *maContext,AVCodecContext *Vide
}
maContext->Video.Info.Height=Video_Context->height;
maContext->Video.Info.Width=Video_Context->width;
- if (Video_Context->codec_id!=CODEC_ID_H264)
- {
- maContext->Video.Info.Pict_Type=Video_Context->coded_frame->pict_type;
- }
AVRational dar;
PAR2DAR(Video_Context->sample_aspect_ratio,&dar);