From ac3966184bc3ab2f475c8b28d4e5d749d07c0177 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Wed, 9 Nov 2022 15:42:40 +0100 Subject: vo_gpu: mark --gamma-factor and --gamma-auto with deprecation warnings This was forgotten in commit 2207236aaae54f32c1861c6fd77219e28139dc78. --- video/out/gpu/video.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/video/out/gpu/video.c b/video/out/gpu/video.c index 9a78d69ead..65a696cc38 100644 --- a/video/out/gpu/video.c +++ b/video/out/gpu/video.c @@ -366,8 +366,10 @@ const struct m_sub_options gl_video_conf = { .opts = (const m_option_t[]) { {"gpu-dumb-mode", OPT_CHOICE(dumb_mode, {"auto", 0}, {"yes", 1}, {"no", -1})}, - {"gamma-factor", OPT_FLOAT(gamma), M_RANGE(0.1, 2.0)}, - {"gamma-auto", OPT_FLAG(gamma_auto)}, + {"gamma-factor", OPT_FLOAT(gamma), M_RANGE(0.1, 2.0), + .deprecation_message = "no replacement"}, + {"gamma-auto", OPT_FLAG(gamma_auto), + .deprecation_message = "no replacement"}, {"target-prim", OPT_CHOICE_C(target_prim, mp_csp_prim_names)}, {"target-trc", OPT_CHOICE_C(target_trc, mp_csp_trc_names)}, {"target-peak", OPT_CHOICE(target_peak, {"auto", 0}), -- cgit v1.2.3