summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-06-04 00:23:31 +0200
committerwm4 <wm4@nowhere>2014-06-04 00:23:31 +0200
commit80907d007bb3673bf15588b76cfc3d43f4e8f9fa (patch)
treecdeadc2d1e8451715fd5d283c764ff5bfa662f3f /player
parenta3b466e88df6964a4e0e9b6627dc63264e948c8e (diff)
downloadmpv-80907d007bb3673bf15588b76cfc3d43f4e8f9fa.tar.bz2
mpv-80907d007bb3673bf15588b76cfc3d43f4e8f9fa.tar.xz
filter_kernels: fix nearest scaler
The previous commit assumed the filter would be 1x1 (then constant weight is correct) - but our code in fact uses at least a 2x2 filter. A 1x1 filter would generally be useless, except for nearest scaling - so it didn't exist. Insteasd of adding such a 1x1 filter, just turn the nearest weight function into a scare function, which should take care of the issue.
Diffstat (limited to 'player')
0 files changed, 0 insertions, 0 deletions