diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-11-16 15:49:54 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-11-16 15:49:54 +0000 |
commit | 550f6f974be23fc33ee04b5ab0d67a2b04cb11f6 (patch) | |
tree | 60444cd9a59a8f1cb719da4adcab5f063b5c1221 | |
parent | 6264a515d061127d0042ccacac5092f48aca4e2a (diff) | |
download | ffmpeg-550f6f974be23fc33ee04b5ab0d67a2b04cb11f6.tar.gz |
parse video frame headers to get key flag
Originally committed as revision 7104 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/mxf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mxf.c b/libavformat/mxf.c index 520fb41974..7bf0b84c21 100644 --- a/libavformat/mxf.c +++ b/libavformat/mxf.c @@ -896,6 +896,7 @@ static int mxf_parse_structural_metadata(MXFContext *mxf) st->codec->width = descriptor->width; st->codec->height = descriptor->height; st->codec->bits_per_sample = descriptor->bits_per_sample; /* Uncompressed */ + st->need_parsing = 2; /* only parse headers */ } else if (st->codec->codec_type == CODEC_TYPE_AUDIO) { container_ul = mxf_get_codec_ul(mxf_sound_essence_container_uls, &descriptor->essence_container_ul); if (st->codec->codec_id == CODEC_ID_NONE) |