From: Steinar H. Gunderson Date: Sun, 19 Feb 2017 15:59:26 +0000 (+0100) Subject: Set num_levels correctly on the input format. X-Git-Tag: 1.5.0~32 X-Git-Url: https://git.sesse.net/?p=nageru;a=commitdiff_plain;h=56bd14094781f5e6ea0b84b4591a9e9f9bdc1b0d Set num_levels correctly on the input format. --- diff --git a/theme.cpp b/theme.cpp index 84f37ba..1c0d8c9 100644 --- a/theme.cpp +++ b/theme.cpp @@ -605,6 +605,7 @@ LiveInputWrapper::LiveInputWrapper(Theme *theme, EffectChain *chain, bool overri YCbCrFormat input_ycbcr_format; input_ycbcr_format.chroma_subsampling_x = 2; input_ycbcr_format.chroma_subsampling_y = 1; + input_ycbcr_format.num_levels = 256; input_ycbcr_format.cb_x_position = 0.0; input_ycbcr_format.cr_x_position = 0.0; input_ycbcr_format.cb_y_position = 0.5;