summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-08-20 16:23:44 +0200
committerwm4 <wm4@nowhere>2013-08-20 16:23:44 +0200
commite49abd2fa20a20eb57cc218e7be5c32f4bc6c1f4 (patch)
tree9145cea0260eca72965bf3050423e10a1e6b99eb /DOCS
parentd69b39512ded2f4d02249c811785e307962034e5 (diff)
downloadmpv-e49abd2fa20a20eb57cc218e7be5c32f4bc6c1f4.tar.bz2
mpv-e49abd2fa20a20eb57cc218e7be5c32f4bc6c1f4.tar.xz
command: simplify video brightness/gamma/etc. handling a bit
We don't need to store the offsets of the options corresponding to the properties, because the option-property bridge knows about this already. The check against 1000 was for the case if e.g. the --brightness option is not used. Always overwrite the option value instead, both when querying and setting the property. (This is needed to make the settings persistent even if vf_eq is used and the video chain is reinitialized.) This commit assumes that VFCTRL_SET_EQUALIZER is always paired with VFCTRL_GET_EQUALIZER (likewise for VOCTRL), which is the case.
Diffstat (limited to 'DOCS')
0 files changed, 0 insertions, 0 deletions