From 8a51a6b79c2790d97aed2dd107ed1f3a70f95236 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 27 Feb 2014 00:53:41 +0100 Subject: 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. --- DOCS/man/en/vo.rst | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'DOCS') 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=`` Load an ICC profile and use it to transform linear RGB to screen output. -- cgit v1.2.3