From: Steinar H. Gunderson Date: Thu, 8 Oct 2015 22:59:32 +0000 (+0200) Subject: Set output YCbCr to 709; input might be 601 (which is weird), but output should not... X-Git-Tag: 1.0.0~258 X-Git-Url: https://git.sesse.net/?p=nageru;a=commitdiff_plain;h=4542b904b32b0abaf608ea33377e15a67b262481 Set output YCbCr to 709; input might be 601 (which is weird), but output should not be in a HD world. --- diff --git a/theme.cpp b/theme.cpp index 28218f6..8d55b32 100644 --- a/theme.cpp +++ b/theme.cpp @@ -127,7 +127,7 @@ int EffectChain_finalize(lua_State* L) YCbCrFormat output_ycbcr_format; output_ycbcr_format.chroma_subsampling_x = 1; output_ycbcr_format.chroma_subsampling_y = 1; - output_ycbcr_format.luma_coefficients = YCBCR_REC_601; + output_ycbcr_format.luma_coefficients = YCBCR_REC_709; output_ycbcr_format.full_range = false; chain->add_ycbcr_output(inout_format, OUTPUT_ALPHA_FORMAT_POSTMULTIPLIED, output_ycbcr_format, YCBCR_OUTPUT_SPLIT_Y_AND_CBCR);