Skip to content

Commit ac39661

Browse files
committed
vo_gpu: mark --gamma-factor and --gamma-auto with deprecation warnings
This was forgotten in commit 2207236.
1 parent 175e250 commit ac39661

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

video/out/gpu/video.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,10 @@ const struct m_sub_options gl_video_conf = {
366366
.opts = (const m_option_t[]) {
367367
{"gpu-dumb-mode", OPT_CHOICE(dumb_mode,
368368
{"auto", 0}, {"yes", 1}, {"no", -1})},
369-
{"gamma-factor", OPT_FLOAT(gamma), M_RANGE(0.1, 2.0)},
370-
{"gamma-auto", OPT_FLAG(gamma_auto)},
369+
{"gamma-factor", OPT_FLOAT(gamma), M_RANGE(0.1, 2.0),
370+
.deprecation_message = "no replacement"},
371+
{"gamma-auto", OPT_FLAG(gamma_auto),
372+
.deprecation_message = "no replacement"},
371373
{"target-prim", OPT_CHOICE_C(target_prim, mp_csp_prim_names)},
372374
{"target-trc", OPT_CHOICE_C(target_trc, mp_csp_trc_names)},
373375
{"target-peak", OPT_CHOICE(target_peak, {"auto", 0}),

0 commit comments

Comments
 (0)