diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-04-06 18:09:54 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-05-12 01:08:01 +0200 |
commit | 10ca419dd8a34491196ce6aad5e563b0a1570826 (patch) | |
tree | 6e84027da372491b546b939cd33c2d13e31d333c /libavformat/mxfenc.c | |
parent | d628caf54f57726e027433ccc83be3ed0b08efaf (diff) | |
download | ffmpeg-10ca419dd8a34491196ce6aad5e563b0a1570826.tar.gz |
avformat/mxfenc: Set color siting to 0 for D10-MXF
SMPTE 386M (D-10) lists 4 as value to be used
SMPTE 377-1-2009 says
"The definitions of 00h (coSiting) and 04h (Rec 601) are equivalent. The value of 04h is deprecated. New
MXF encoders shall use the value of 00h instead."
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/mxfenc.c')
-rw-r--r-- | libavformat/mxfenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c index f955b50a66..44425bf6c9 100644 --- a/libavformat/mxfenc.c +++ b/libavformat/mxfenc.c @@ -2440,6 +2440,7 @@ static int mxf_write_header(AVFormatContext *s) mxf->edit_unit_byte_count += klv_fill_size(mxf->edit_unit_byte_count); sc->signal_standard = 1; + sc->color_siting = 0; } if (mxf->signal_standard >= 0) sc->signal_standard = mxf->signal_standard; |