diff options
author | Matthieu Bouron <matthieu.bouron@gmail.com> | 2013-02-16 13:52:29 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-19 03:01:51 +0100 |
commit | 69e93792d6079b4e3b1e6eaf6e52b3858afe1e8e (patch) | |
tree | 03fa0eca7bf07669de4cf880746e4fb2511e08eb /libavformat/mxfdec.c | |
parent | 97f8c6e14753b94c1f6a96fe354a125bbfdea2cb (diff) | |
download | ffmpeg-69e93792d6079b4e3b1e6eaf6e52b3858afe1e8e.tar.gz |
lavf/mxfdec: read field dominance flag
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mxfdec.c')
-rw-r--r-- | libavformat/mxfdec.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 0a81d16762..4580e1be38 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -149,6 +149,7 @@ typedef struct { int frame_layout; /* See MXFFrameLayout enum */ int channels; int bits_per_sample; + int field_dominance; unsigned int component_depth; unsigned int horiz_subsampling; unsigned int vert_subsampling; @@ -838,6 +839,9 @@ static int mxf_read_generic_descriptor(void *arg, AVIOContext *pb, int tag, int descriptor->aspect_ratio.num = avio_rb32(pb); descriptor->aspect_ratio.den = avio_rb32(pb); break; + case 0x3212: + descriptor->field_dominance = avio_r8(pb); + break; case 0x3301: descriptor->component_depth = avio_rb32(pb); break; |