projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c14181
)
Set st->need_parsing = 2 for MPEG-content.
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Wed, 22 Nov 2006 18:31:28 +0000
(18:31 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Wed, 22 Nov 2006 18:31:28 +0000
(18:31 +0000)
Originally committed as revision 7158 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/gxf.c
patch
|
blob
|
history
diff --git
a/libavformat/gxf.c
b/libavformat/gxf.c
index
5f4ce83
..
186f611
100644
(file)
--- 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;