Browse Source

Set st->need_parsing = 2 for MPEG-content.

Originally committed as revision 7158 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Reimar Döffinger 19 years ago
parent
commit
9ed0023447
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavformat/gxf.c

+ 2
- 0
libavformat/gxf.c View File

@@ -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;


Loading…
Cancel
Save