diff options
author | Niklas Haas <git@nand.wakku.to> | 2016-04-10 17:26:32 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-04-10 18:29:20 +0200 |
commit | b968d779afb9114694976792e903b0591a71a816 (patch) | |
tree | 25f128c719d098d2fd2f0611e06c8182a1cce037 /input | |
parent | b18bfd0352cc1723ad9194a2cd31e263124e62b5 (diff) | |
download | mpv-b968d779afb9114694976792e903b0591a71a816.tar.bz2 mpv-b968d779afb9114694976792e903b0591a71a816.tar.xz |
aspect: rework --video-unscaled
In the past, --video-unscaled also disabled zooming and aspect ratio
corrections. But this didn't make much sense in terms of being a useful
option. The new behavior just sets the initial video size to be
unscaled, but it's still affected by zoom commands and aspect ratio
corrections.
To get the old behavior back, --video-aspect=0 --video-zoom=0 need to be
added as well (in the general case). Most of the time it should not make
a difference though.
Also, there seems to have been some additional dst_rect clamping code
inside src_dst_split_scaling that didn't seem to either be necessary nor
ever get triggered. (The code immediately above it already makes sure to
crop the video if it's larger than the dst_rect)
No idea why it was there, but I just removed it.
Diffstat (limited to 'input')
0 files changed, 0 insertions, 0 deletions