[Ffmpeg-cvslog] r7158 - trunk/libavformat/gxf.c
reimar
subversion
Wed Nov 22 19:31:29 CET 2006
Author: reimar
Date: Wed Nov 22 19:31:28 2006
New Revision: 7158
Modified:
trunk/libavformat/gxf.c
Log:
Set st->need_parsing = 2 for MPEG-content.
Modified: trunk/libavformat/gxf.c
==============================================================================
--- trunk/libavformat/gxf.c (original)
+++ trunk/libavformat/gxf.c Wed Nov 22 19:31:28 2006
@@ -130,11 +130,13 @@
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;
More information about the ffmpeg-cvslog
mailing list