X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=theme.cpp;h=afe511c9821514cda701b36031cac735d40f5544;hb=112ce67402abfb6163403697c8a4f0fb736101ca;hp=3f52c838fe53ecfcac11238cb0ffeff8a3cc44b6;hpb=3b3d6c07f35ad077ec5bd19a641118e86c334398;p=nageru diff --git a/theme.cpp b/theme.cpp index 3f52c83..afe511c 100644 --- a/theme.cpp +++ b/theme.cpp @@ -631,9 +631,9 @@ LiveInputWrapper::LiveInputWrapper(Theme *theme, EffectChain *chain, bool overri } for (unsigned i = 0; i < num_inputs; ++i) { if (override_bounce) { - inputs.push_back(new NonBouncingYCbCrInput(inout_format, input_ycbcr_format, WIDTH, HEIGHT, YCBCR_INPUT_SPLIT_Y_AND_CBCR)); + inputs.push_back(new NonBouncingYCbCrInput(inout_format, input_ycbcr_format, global_flags.width, global_flags.height, YCBCR_INPUT_SPLIT_Y_AND_CBCR)); } else { - inputs.push_back(new YCbCrInput(inout_format, input_ycbcr_format, WIDTH, HEIGHT, YCBCR_INPUT_SPLIT_Y_AND_CBCR)); + inputs.push_back(new YCbCrInput(inout_format, input_ycbcr_format, global_flags.width, global_flags.height, YCBCR_INPUT_SPLIT_Y_AND_CBCR)); } chain->add_input(inputs.back()); }