summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-02-27 00:53:41 +0100
committerwm4 <wm4@nowhere>2014-02-27 00:53:41 +0100
commit8a51a6b79c2790d97aed2dd107ed1f3a70f95236 (patch)
treef5439ac4a681911123d45be8c6a65ecfbb58a490 /DOCS
parent6119cf13bed2689d025c15e6b7d874e44b39ef08 (diff)
downloadmpv-8a51a6b79c2790d97aed2dd107ed1f3a70f95236.tar.bz2
mpv-8a51a6b79c2790d97aed2dd107ed1f3a70f95236.tar.xz
vo_opengl: change gamma suboption to take a value
The previous version of the gamma suboption was pretty useless. It could be used to disable delayed gamma enabling, which is a mechanism to avoid having to adjust gamma in the shader by default. Repurpose the suboption and allow setting an exact gamma value with it. You can already override gamma with the --gamma option as well as the gamma input property, but these use a weird curve to create the impression of a linear perceived brightness change when changing the value. This suboption now allows setting an exact gamma value.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/en/vo.rst9
1 files changed, 7 insertions, 2 deletions
diff --git a/DOCS/man/en/vo.rst b/DOCS/man/en/vo.rst
index 443fd5ae3c..44b6e05723 100644
--- a/DOCS/man/en/vo.rst
+++ b/DOCS/man/en/vo.rst
@@ -439,8 +439,13 @@ Available video output drivers are:
rgb32f, rgba12, rgba16, rgba16f, rgba32f.
Default: rgb.
- ``gamma``
- Always enable gamma control. (Disables delayed enabling.)
+ ``gamma=<0.0..10.0>``
+ Set a gamma value. If gamma is adjusted in other ways (like with
+ the ``--gamma`` option or keybindings 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.)
``icc-profile=<file>``
Load an ICC profile and use it to transform linear RGB to screen output.