aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/gxf.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2006-11-22 18:31:28 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2006-11-22 18:31:28 +0000
commit9ed0023447c3bbdf9a080cc386ce0ef7590a4195 (patch)
treebcce094cd0b4dd3f74503cc52fe48cc24e65f91a /libavformat/gxf.c
parent3c1418175da3085cfd383543de9f0a61947e1df4 (diff)
downloadffmpeg-9ed0023447c3bbdf9a080cc386ce0ef7590a4195.tar.gz
Set st->need_parsing = 2 for MPEG-content.
Originally committed as revision 7158 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/gxf.c')
-rw-r--r--libavformat/gxf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/gxf.c b/libavformat/gxf.c
index 5f4ce83906..186f61191e 100644
--- a/libavformat/gxf.c
+++ b/libavformat/gxf.c
@@ -130,11 +130,13 @@ static int get_sindex(AVFormatContext *s, int id, int format) {
case 20:
st->codec->codec_type = CODEC_TYPE_VIDEO;
st->codec->codec_id = CODEC_ID_MPEG2VIDEO;
+ st->need_parsing = 2; // get keyframe flag etc.
break;
case 22:
case 23:
st->codec->codec_type = CODEC_TYPE_VIDEO;
st->codec->codec_id = CODEC_ID_MPEG1VIDEO;
+ st->need_parsing = 2; // get keyframe flag etc.
break;
case 9:
st->codec->codec_type = CODEC_TYPE_AUDIO;