vo_gpu: undeprecate --gamma-factor

deprecated since 0.35 in ac39661 and 2207236.
This commit is contained in:
der richter
2024-07-13 14:49:59 +02:00
parent a283f66ede
commit dec0d02f9f
3 changed files with 2 additions and 4 deletions

View File

@@ -0,0 +1 @@
undeprecate `--gamma-factor`

View File

@@ -6811,8 +6811,6 @@ them.
other ways (like with the ``--gamma`` option or key bindings and the
``gamma`` property), the value is multiplied with the other gamma value.
This option is deprecated and may be removed in the future.
``--gamma-auto``
Automatically corrects the gamma value depending on ambient lighting
conditions (adding a gamma boost for bright rooms).

View File

@@ -433,8 +433,7 @@ 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-factor", OPT_FLOAT(gamma), M_RANGE(0.1, 2.0)},
{"gamma-auto", OPT_BOOL(gamma_auto),
.deprecation_message = "no replacement"},
{"target-prim", OPT_CHOICE_C(target_prim, pl_csp_prim_names)},