lavf/mxfdec: read field dominance flag
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
97f8c6e147
commit
69e93792d6
@ -149,6 +149,7 @@ typedef struct {
|
|||||||
int frame_layout; /* See MXFFrameLayout enum */
|
int frame_layout; /* See MXFFrameLayout enum */
|
||||||
int channels;
|
int channels;
|
||||||
int bits_per_sample;
|
int bits_per_sample;
|
||||||
|
int field_dominance;
|
||||||
unsigned int component_depth;
|
unsigned int component_depth;
|
||||||
unsigned int horiz_subsampling;
|
unsigned int horiz_subsampling;
|
||||||
unsigned int vert_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.num = avio_rb32(pb);
|
||||||
descriptor->aspect_ratio.den = avio_rb32(pb);
|
descriptor->aspect_ratio.den = avio_rb32(pb);
|
||||||
break;
|
break;
|
||||||
|
case 0x3212:
|
||||||
|
descriptor->field_dominance = avio_r8(pb);
|
||||||
|
break;
|
||||||
case 0x3301:
|
case 0x3301:
|
||||||
descriptor->component_depth = avio_rb32(pb);
|
descriptor->component_depth = avio_rb32(pb);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user