mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 15:52:25 +00:00
53ee9aa6ae
The -zoom option enabled scaling with vo_x11. Remove the -zoom option, and make its behavior default. Since vo_x11 has to use libswscale for colorspace conversion anyway, which doesn't do actual extra scaling when vo_x11 is run in windowed mode, there should be no speed difference with this change. The code removed from vf_scale attempted to scale the video to d_width/ d_height, which matters for anamorphic video and the --xy option only. vo_x11 can handle these natively. The only case for which the removed vf_scale code could matter is encoding with vo_lavc, but since that didn't set VOFLAG_SWSCALE, nothing actually changes. |
||
---|---|---|
.. | ||
dec_video.c | ||
dec_video.h | ||
vd_lavc.c | ||
vd.c | ||
vd.h |