1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 10:02:17 +00:00

vo_gpu_next: fix --target-contrast=inf

Somehow this overrode max_luma instead of min_luma...

Fixes: 347fbd6fa3
This commit is contained in:
Niklas Haas 2023-08-28 18:30:08 +02:00
parent 3079ae5db3
commit 3e612c07f4

View File

@ -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;
}