summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-03 17:12:04 +0100
committerwm4 <wm4@nowhere>2015-02-03 17:19:34 +0100
commit98828886d40258a410250b09ef3059c77562651e (patch)
tree8cfd469e30664d414a06b58691140d68c97fb93d /DOCS
parentf296dcb248625d6e5979eae1e683b5f4522896f9 (diff)
downloadmpv-98828886d40258a410250b09ef3059c77562651e.tar.bz2
mpv-98828886d40258a410250b09ef3059c77562651e.tar.xz
vo_opengl: change initialization of gamma option
Make the lazy gamma initialization less weird, and make the default value of the "gamma" sub-option 1.0. This means --vo=opengl:help will list the actual default value. Also change the lower bound to 0.1 - avoids a division by zero (I don't know how shaders handle NaN, but it's probably not a good idea to give them this value).
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/vo.rst12
1 files changed, 5 insertions, 7 deletions
diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst
index ded4d0ec96..a67bfec1a9 100644
--- a/DOCS/man/vo.rst
+++ b/DOCS/man/vo.rst
@@ -504,17 +504,15 @@ Available video output drivers are:
rgb32f, rgba12, rgba16, rgba16f, rgba32f.
Default: rgba.
- ``gamma=<0.0..2.0>``
- Set a gamma value. If gamma is adjusted in other ways (like with
- the ``--gamma`` option or key bindings and the ``gamma`` property), the
- value is multiplied with the other gamma value. Setting this value to
- 1.0 can be used to always enable gamma control. (Disables delayed
- enabling.)
+ ``gamma=<0.1..2.0>``
+ Set a gamma value (default: 1.0). If gamma is adjusted in other ways
+ (like with the ``--gamma`` option or key bindings and the ``gamma``
+ property), the value is multiplied with the other gamma value.
Recommended values based on the environmental brightness:
1.0
- Brightly illuminated
+ Brightly illuminated (default)
0.9
Slightly dim
0.8