summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorBin Jin <bjin@ctrl-d.org>2019-06-06 12:40:05 +0000
committersfan5 <sfan5@live.de>2019-06-06 20:01:56 +0200
commitfbe267150d9b6a2486a73c13d58b2b24d69b50ad (patch)
treec32646c1b20cd06912f6a02a2b63a2193627ac8a /misc
parentf2119d9d889913ab07dabc797d0288ca996d47d8 (diff)
downloadmpv-fbe267150d9b6a2486a73c13d58b2b24d69b50ad.tar.bz2
mpv-fbe267150d9b6a2486a73c13d58b2b24d69b50ad.tar.xz
vo_gpu: fix --scaler-resizes-only for fractional ratio scaling
The calculation of scale factor involves 32-bit float, and a strict equality test will effectively ignore `--scaler-resizes-only` option for some non-integer scale factor. Fix this by using non-strict equality check.
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions