summaryrefslogtreecommitdiffstats
path: root/DOCS/man/en/ao.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-08-20 16:11:07 +0200
committerwm4 <wm4@nowhere>2013-08-22 21:19:08 +0200
commitab3bafc7504d4dad50ccaa5ee2393f5ead4c9801 (patch)
tree2449563b883892cea99776c9cd88710defb6e7d9 /DOCS/man/en/ao.rst
parentd3f7248ca973547c2a367dec5f2488e55a9003e4 (diff)
downloadmpv-ab3bafc7504d4dad50ccaa5ee2393f5ead4c9801.tar.bz2
mpv-ab3bafc7504d4dad50ccaa5ee2393f5ead4c9801.tar.xz
vf_eq: fix behavior when changing parameters
Using -vf eq and changing brightness, contrast, etc. using key bindings with e.g. "add brightness 1" didn't work well: with step width 1, the property gets easily "stuck". This is a rounding problem: e.g. setting gamma to 3 would actually make it report that gamma is set to 2, so the "add" command will obviously never reach 3 with a step width of 1. Fix this by storing the parameters as integers. This was broken in cac7702. This commit effectively changed these properties to use the value as reported by vf_eq, instead of the previously set value for the "add" command. This was more robust, but not very correct either, so we keep the new behavior and make vf_eq report its parameters more accurately.
Diffstat (limited to 'DOCS/man/en/ao.rst')
0 files changed, 0 insertions, 0 deletions