diff options
author | Niklas Haas <git@haasn.dev> | 2023-08-28 18:30:08 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2023-08-28 18:30:54 +0200 |
commit | 3e612c07f46d97399447e090399c382d227d6079 (patch) | |
tree | efa04ff97b9c63d7b6c07f9d81f5f6d9322ee224 /video | |
parent | 3079ae5db3a8066fb09800a9bfe6157388b34b91 (diff) | |
download | mpv-3e612c07f46d97399447e090399c382d227d6079.tar.bz2 mpv-3e612c07f46d97399447e090399c382d227d6079.tar.xz |
vo_gpu_next: fix --target-contrast=inf
Somehow this overrode max_luma instead of min_luma...
Fixes: 347fbd6fa357e854cfb0bc6d3c9b3d12994d5c0c
Diffstat (limited to 'video')
-rw-r--r-- | video/out/vo_gpu_next.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |