Commit 5185c973 authored by bcoudurier's avatar bcoudurier

parse video frame headers to get key flag

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7104 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 48ec3e0c
...@@ -896,6 +896,7 @@ static int mxf_parse_structural_metadata(MXFContext *mxf) ...@@ -896,6 +896,7 @@ static int mxf_parse_structural_metadata(MXFContext *mxf)
st->codec->width = descriptor->width; st->codec->width = descriptor->width;
st->codec->height = descriptor->height; st->codec->height = descriptor->height;
st->codec->bits_per_sample = descriptor->bits_per_sample; /* Uncompressed */ 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) { } else if (st->codec->codec_type == CODEC_TYPE_AUDIO) {
container_ul = mxf_get_codec_ul(mxf_sound_essence_container_uls, &descriptor->essence_container_ul); container_ul = mxf_get_codec_ul(mxf_sound_essence_container_uls, &descriptor->essence_container_ul);
if (st->codec->codec_id == CODEC_ID_NONE) if (st->codec->codec_id == CODEC_ID_NONE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment