Skip to content

Commit

Permalink
vo_gpu: undeprecate --gamma-factor and --gamma-auto
Browse files Browse the repository at this point in the history
deprecated since 0.35 in ac39661 and 2207236.
  • Loading branch information
Akemi committed Jul 13, 2024
1 parent d15660f commit 946cfbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions DOCS/interface-changes/gamma.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
undeprecate `--gamma-factor` and `--gamma-auto`
6 changes: 2 additions & 4 deletions video/out/gpu/video.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,10 +359,8 @@ 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),
.deprecation_message = "no replacement"},
{"gamma-auto", OPT_BOOL(gamma_auto),
.deprecation_message = "no replacement"},
{"gamma-factor", OPT_FLOAT(gamma), M_RANGE(0.1, 2.0)},
{"gamma-auto", OPT_BOOL(gamma_auto)},
{"target-prim", OPT_CHOICE_C(target_prim, pl_csp_prim_names)},
{"target-trc", OPT_CHOICE_C(target_trc, pl_csp_trc_names)},
{"target-peak", OPT_CHOICE(target_peak, {"auto", 0}),
Expand Down

0 comments on commit 946cfbd

Please sign in to comment.