History

vo_gpu: undeprecate --gamma-factor

deprecated since 0.35 in ac39661 and 2207236.

der richter committed 2 years ago

Commit dec0d021 parent a283f663 files · +2 −4Browse files

Unified · Split

3 files
  1. DOCS/interface-changes/gamma-factor.txt +1 −0
  2. DOCS/man/options.rst +0 −2
  3. video/out/gpu/video.c +1 −2
DOCS/interface-changes/gamma-factor.txt+1−0
@@ -0,0 +1 @@
1+undeprecate `--gamma-factor`
DOCS/man/options.rst+0−2
@@ -6811,8 +6811,6 @@ them. · 6810 unmodified lines
68116811 other ways (like with the ``--gamma`` option or key bindings and the
68126812 ``gamma`` property), the value is multiplied with the other gamma value.
68136813
6814− This option is deprecated and may be removed in the future.
6815−
68166814 ``--gamma-auto``
68176815 Automatically corrects the gamma value depending on ambient lighting
68186816 conditions (adding a gamma boost for bright rooms).
video/out/gpu/video.c+1−2
@@ -433,8 +433,7 @@ const struct m_sub_options gl_video_conf = { · 432 unmodified lines
433433 .opts = (const m_option_t[]) {
434434 {"gpu-dumb-mode", OPT_CHOICE(dumb_mode,
435435 {"auto", 0}, {"yes", 1}, {"no", -1})},
436− {"gamma-factor", OPT_FLOAT(gamma), M_RANGE(0.1, 2.0),
437− .deprecation_message = "no replacement"},
436+ {"gamma-factor", OPT_FLOAT(gamma), M_RANGE(0.1, 2.0)},
438437 {"gamma-auto", OPT_BOOL(gamma_auto),
439438 .deprecation_message = "no replacement"},
440439 {"target-prim", OPT_CHOICE_C(target_prim, pl_csp_prim_names)},

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t