From 56bd14094781f5e6ea0b84b4591a9e9f9bdc1b0d Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 19 Feb 2017 16:59:26 +0100 Subject: [PATCH] Set num_levels correctly on the input format. --- theme.cpp | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.2