]> git.sesse.net Git - nageru/commitdiff
Set output YCbCr to 709; input might be 601 (which is weird), but output should not...
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 8 Oct 2015 22:59:32 +0000 (00:59 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 8 Oct 2015 22:59:32 +0000 (00:59 +0200)
theme.cpp

index 28218f6d5d1cb3cdd48f8fca84b34247369017b6..8d55b32d26fcf51b977029fdb7d118c74132299d 100644 (file)
--- 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);