From 4542b904b32b0abaf608ea33377e15a67b262481 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Fri, 9 Oct 2015 00:59:32 +0200 Subject: [PATCH] Set output YCbCr to 709; input might be 601 (which is weird), but output should not be in a HD world. --- theme.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2