From 3e612c07f46d97399447e090399c382d227d6079 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Mon, 28 Aug 2023 18:30:08 +0200 Subject: vo_gpu_next: fix --target-contrast=inf Somehow this overrode max_luma instead of min_luma... Fixes: 347fbd6fa357e854cfb0bc6d3c9b3d12994d5c0c --- video/out/vo_gpu_next.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video') diff --git a/video/out/vo_gpu_next.c b/video/out/vo_gpu_next.c index 02b889b782..66b5b3bfec 100644 --- a/video/out/vo_gpu_next.c +++ b/video/out/vo_gpu_next.c @@ -831,7 +831,7 @@ static void apply_target_contrast(struct priv *p, struct pl_color_space *color) // Infinite contrast if (opts->target_contrast == -1) { - color->hdr.max_luma = 1e-7; + color->hdr.min_luma = 1e-7; return; } -- cgit v1.2.3