From 68c77d955f4d0c5269f8ea1be6e42e95110bbec0 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Mon, 30 May 2016 20:11:14 +0200 Subject: vo_opengl: default hdr-tone-mapping to hable This algorithm works really well. Setting it is a much better "out-of-the-box" experience than just clipping, which will always look ugly. In other words, with this default, users of mpv will just be able to play HDR content without even realizing it's HDR (pretty much). --- video/out/opengl/video.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'video') diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c index f0a2401172..1f053d4fc1 100644 --- a/video/out/opengl/video.c +++ b/video/out/opengl/video.c @@ -322,6 +322,7 @@ const struct gl_video_opts gl_video_opts_def = { .prescale_passes = 1, .prescale_downscaling_threshold = 2.0f, .target_brightness = 250, + .hdr_tone_mapping = TONE_MAPPING_HABLE, .tone_mapping_param = NAN, }; @@ -352,6 +353,7 @@ const struct gl_video_opts gl_video_opts_hq_def = { .prescale_passes = 1, .prescale_downscaling_threshold = 2.0f, .target_brightness = 250, + .hdr_tone_mapping = TONE_MAPPING_HABLE, .tone_mapping_param = NAN, }; -- cgit v1.2.3