]> git.sesse.net Git - nageru/commitdiff
Set num_levels correctly on the input format.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 19 Feb 2017 15:59:26 +0000 (16:59 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 19 Feb 2017 15:59:26 +0000 (16:59 +0100)
theme.cpp

index 84f37ba0002d07db95983828944c66bc6777d7c7..1c0d8c9f79fc5c2174972c168c699558846c1f58 100644 (file)
--- 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;