From 10ca419dd8a34491196ce6aad5e563b0a1570826 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 6 Apr 2018 18:09:54 +0200 Subject: [PATCH] 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 --- libavformat/mxfenc.c | 1 + 1 file changed, 1 insertion(+) 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;