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 @@
1undeprecate `--gamma-factor`
DOCS/man/options.rst+0−2
@@ -6811,8 +6811,6 @@ them. · 6810 unmodified lines
6811 other ways (like with the ``--gamma`` option or key bindings and the6811 other ways (like with the ``--gamma`` option or key bindings and the
6812 ``gamma`` property), the value is multiplied with the other gamma value.6812 ``gamma`` property), the value is multiplied with the other gamma value.
6813 6813
6814 This option is deprecated and may be removed in the future.
6815
6816``--gamma-auto``6814``--gamma-auto``
6817 Automatically corrects the gamma value depending on ambient lighting6815 Automatically corrects the gamma value depending on ambient lighting
6818 conditions (adding a gamma boost for bright rooms).6816 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
433 .opts = (const m_option_t[]) {433 .opts = (const m_option_t[]) {
434 {"gpu-dumb-mode", OPT_CHOICE(dumb_mode,434 {"gpu-dumb-mode", OPT_CHOICE(dumb_mode,
435 {"auto", 0}, {"yes", 1}, {"no", -1})},435 {"auto", 0}, {"yes", 1}, {"no", -1})},
436 {"gamma-factor", OPT_FLOAT(gamma), M_RANGE(0.1, 2.0),436 {"gamma-factor", OPT_FLOAT(gamma), M_RANGE(0.1, 2.0)},
437 .deprecation_message = "no replacement"},
438 {"gamma-auto", OPT_BOOL(gamma_auto),437 {"gamma-auto", OPT_BOOL(gamma_auto),
439 .deprecation_message = "no replacement"},438 .deprecation_message = "no replacement"},
440 {"target-prim", OPT_CHOICE_C(target_prim, pl_csp_prim_names)},439 {"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