From 98828886d40258a410250b09ef3059c77562651e Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 3 Feb 2015 17:12:04 +0100 Subject: 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). --- DOCS/man/vo.rst | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'DOCS') 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 -- cgit v1.2.3