summaryrefslogtreecommitdiffstats
path: root/video/out/gpu/video.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2023-05-24 21:32:00 +0200
committerNiklas Haas <git@haasn.dev>2023-05-24 21:32:00 +0200
commitdc13d47c735f10ff95015cd2feb82ab66e52a219 (patch)
tree62ab984f7260390330a32c300f32e44e51a3f004 /video/out/gpu/video.c
parenta1a2e27f84bef17b50fd7f5cca7e50bbad1f92d0 (diff)
downloadmpv-dc13d47c735f10ff95015cd2feb82ab66e52a219.tar.bz2
mpv-dc13d47c735f10ff95015cd2feb82ab66e52a219.tar.xz
vo_gpu_next: remove --tone-mapping-crosstalk
Removed upstream, to be replaced by constant 0.04.
Diffstat (limited to 'video/out/gpu/video.c')
-rw-r--r--video/out/gpu/video.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/video/out/gpu/video.c b/video/out/gpu/video.c
index 2d16d8435e..dbe138c009 100644
--- a/video/out/gpu/video.c
+++ b/video/out/gpu/video.c
@@ -322,7 +322,6 @@ static const struct gl_video_opts gl_video_opts_def = {
.curve = TONE_MAPPING_AUTO,
.curve_param = NAN,
.max_boost = 1.0,
- .crosstalk = 0.04,
.decay_rate = 100.0,
.scene_threshold_low = 5.5,
.scene_threshold_high = 10.0,
@@ -389,8 +388,6 @@ const struct m_sub_options gl_video_conf = {
{"st2094-10", TONE_MAPPING_ST2094_10})},
{"tone-mapping-param", OPT_FLOATDEF(tone_map.curve_param)},
{"inverse-tone-mapping", OPT_BOOL(tone_map.inverse)},
- {"tone-mapping-crosstalk", OPT_FLOAT(tone_map.crosstalk),
- M_RANGE(0.0, 0.3)},
{"tone-mapping-max-boost", OPT_FLOAT(tone_map.max_boost),
M_RANGE(1.0, 10.0)},
{"tone-mapping-mode", OPT_CHOICE(tone_map.mode,
@@ -486,6 +483,7 @@ const struct m_sub_options gl_video_conf = {
{"gamut-clipping", OPT_REMOVED("Replaced by --gamut-mapping-mode=desaturate")},
{"tone-mapping-desaturate", OPT_REMOVED("Replaced by --tone-mapping-mode")},
{"tone-mapping-desaturate-exponent", OPT_REMOVED("Replaced by --tone-mapping-mode")},
+ {"tone-mapping-crosstalk", OPT_REMOVED("Hard-coded as 0.04")},
{0}
},
.size = sizeof(struct gl_video_opts),