X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=theme.cpp;h=7bb187714e6f2ef0041a777ce864a4402525b78b;hb=ee7da87b4aa284b7babd59dc21db925f7c384ce7;hp=c5f335ea405c96827bc8584a7fe20f4eb854f1b3;hpb=336009fd7baf47b4ad71adf8d7ead8a526045788;p=nageru diff --git a/theme.cpp b/theme.cpp index c5f335e..7bb1877 100644 --- a/theme.cpp +++ b/theme.cpp @@ -265,11 +265,14 @@ int EffectChain_finalize(lua_State* L) // happens in a pass not run by Movit (see ChromaSubsampler::subsample_chroma()). output_ycbcr_format.chroma_subsampling_x = 1; output_ycbcr_format.chroma_subsampling_y = 1; + + // This will be overridden if HDMI/SDI output is in force. if (global_flags.ycbcr_rec709_coefficients) { output_ycbcr_format.luma_coefficients = YCBCR_REC_709; } else { output_ycbcr_format.luma_coefficients = YCBCR_REC_601; } + output_ycbcr_format.full_range = false; output_ycbcr_format.num_levels = 256;