diff options
author | Niklas Haas <git@haasn.xyz> | 2020-06-18 02:00:51 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.xyz> | 2020-06-18 02:02:45 +0200 |
commit | ae5ac7e90a96c02f66b3eb5b63ed960bfffa3fdb (patch) | |
tree | 69c0e2b8798fbb456aabdc4b9532e7b7a3960674 /video/vdpau_functions.inc | |
parent | b97f57bfd4fae279b3f2c50046c8881537986029 (diff) | |
download | mpv-ae5ac7e90a96c02f66b3eb5b63ed960bfffa3fdb.tar.bz2 mpv-ae5ac7e90a96c02f66b3eb5b63ed960bfffa3fdb.tar.xz |
vo_gpu: fix scaler/window validation to allow unsetting
--dscale= and --*scale-window= (i.e. an empty string) are respectively
valid settings for their options (and, in fact, the defaults).
This fixes the bug that it was impossible to reset e.g. tscale-window
back to the default "unset" setting after setting it once.
Credit goes to @CounterPillow for locating the cause of this bug.
Diffstat (limited to 'video/vdpau_functions.inc')
0 files changed, 0 insertions, 0 deletions