From af9b53f3a3831531504906882efce0d979506ed3 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Mon, 21 Aug 2023 19:50:20 +0200 Subject: [PATCH] vo_gpu_next: move line to correct location (cosmetic) --- video/out/vo_gpu_next.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/out/vo_gpu_next.c b/video/out/vo_gpu_next.c index 6dbfb48ed5..fa8d8b0cef 100644 --- a/video/out/vo_gpu_next.c +++ b/video/out/vo_gpu_next.c @@ -1999,9 +1999,9 @@ static void update_render_options(struct vo *vo) pars->color_map_params.tone_mapping_function = tone_map_funs[opts->tone_map.curve]; pars->color_map_params.tone_mapping_param = opts->tone_map.curve_param; - pars->color_map_params.inverse_tone_mapping = opts->tone_map.inverse; if (isnan(pars->color_map_params.tone_mapping_param)) // vo_gpu compatibility pars->color_map_params.tone_mapping_param = 0.0; + pars->color_map_params.inverse_tone_mapping = opts->tone_map.inverse; pars->color_map_params.contrast_recovery = opts->tone_map.contrast_recovery; pars->color_map_params.visualize_lut = opts->tone_map.visualize; pars->color_map_params.contrast_smoothness = opts->tone_map.contrast_smoothness;