Mercurial > libavformat.hg
changeset 1538:a7413070347a libavformat
Set st->need_parsing = 2 for MPEG-content.
author | reimar |
---|---|
date | Wed, 22 Nov 2006 18:31:28 +0000 |
parents | 8110f1a20f2a |
children | bc94f4215dd0 |
files | gxf.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gxf.c Tue Nov 21 23:47:21 2006 +0000 +++ b/gxf.c Wed Nov 22 18:31:28 2006 +0000 @@ -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;