summaryrefslogtreecommitdiffstats
path: root/talloc.c
diff options
context:
space:
mode:
authorharklu <harklu@wat>2011-08-16 02:49:19 +0200
committerUoti Urpala <uau@mplayer2.org>2011-08-17 01:18:45 +0300
commita7fee50ca0489eee0518c58b57a1e87f081bd573 (patch)
tree8dd973ef52aecc3f0e5bb4d0893342717f4bc2fa /talloc.c
parent54d0763b92f3d8239aa2258f2193eebdc74a91ef (diff)
downloadmpv-a7fee50ca0489eee0518c58b57a1e87f081bd573.tar.bz2
mpv-a7fee50ca0489eee0518c58b57a1e87f081bd573.tar.xz
vf_screenshot: better check for pixel format swscale support
vf_screenshot checked for a list of pixel formats that were known to work with swscale. However, the list was incomplete. If a pixel format was used that was not on the vf_screenshot list, but was supported both by swscale and the VO driver, mplayer2 would insert a useless scale filter to convert to a format supported by vf_screenshot. Fix this by making vf_screenshot check directly whether the pixel format is supported by swscale with sws_isSupportedInput().
Diffstat (limited to 'talloc.c')
0 files changed, 0 insertions, 0 deletions