summaryrefslogtreecommitdiffstats
path: root/video/out/gpu/video.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2023-09-20 18:27:23 +0200
committerNiklas Haas <github-daiK1o@haasn.dev>2023-09-20 20:26:07 +0200
commite7bd330ed073afe973dc9bdae669ac4a4a0017f2 (patch)
tree69f0fdfa73c516f003bcea4645a6e9164f530ec4 /video/out/gpu/video.c
parentfe868988a18be500a440150a0d4d871687a095fc (diff)
downloadmpv-e7bd330ed073afe973dc9bdae669ac4a4a0017f2.tar.bz2
mpv-e7bd330ed073afe973dc9bdae669ac4a4a0017f2.tar.xz
vo_gpu: match libplacebo peak detection defaults
This probably makes `vo_gpu` tone mapping worse, or something, but who cares. The status quo for a while now has been to use `vo_gpu_next` if you care about HDR rendering at all. See-Also: haasn/libplacebo@ec60dd156b82753a2e2d8a399899244605f4d1bf See-Also: haasn/libplacebo@0903cbd05d7fc0391cbd99954924a39b855c8a1b
Diffstat (limited to 'video/out/gpu/video.c')
-rw-r--r--video/out/gpu/video.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/video/out/gpu/video.c b/video/out/gpu/video.c
index 3c8c6bae39..7dfea116b8 100644
--- a/video/out/gpu/video.c
+++ b/video/out/gpu/video.c
@@ -323,9 +323,9 @@ static const struct gl_video_opts gl_video_opts_def = {
.curve = TONE_MAPPING_AUTO,
.curve_param = NAN,
.max_boost = 1.0,
- .decay_rate = 100.0,
- .scene_threshold_low = 5.5,
- .scene_threshold_high = 10.0,
+ .decay_rate = 20.0,
+ .scene_threshold_low = 1.0,
+ .scene_threshold_high = 3.0,
.contrast_smoothness = 3.5,
},
.early_flush = -1,