From c0e13d54a85663ff8ac87d2910f1688978ea1f60 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Sun, 3 Apr 2016 13:55:37 +0200 Subject: aspect: make video-zoom logarithmic The past behavior was a bit weird, especially when zooming out. There was no simple way to zoom in or out in consistent increments using keybindings alone. The new behavior preserves most of the old behavior's semantics but scales out to infinity better. It coincidentally also makes it really easy to get clean power of 2 ratios (e.g. 2x, 4x, 8x and their inverses). Fixes #3004. --- DOCS/man/options.rst | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'DOCS/man/options.rst') diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index a885648b95..7921ba6b0d 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -732,12 +732,10 @@ Video appear in files, but can't be handled properly by mpv. ``--video-zoom=`` - Adjust the video display scale factor by the given value. The unit is in - fractions of the (scaled) window video size. - - For example, given a 1280x720 video shown in a 1280x720 window, - ``--video-zoom=-0.1`` would make the video by 128 pixels smaller in - X direction, and 72 pixels in Y direction. + Adjust the video display scale factor by the given value. The parameter is + given log 2. For example, ``--video-zoom=0`` is unscaled, + ``--video-zoom=1`` is twice the size, ``--video-zoom=-2`` is one fourth of + the size, and so on. This option is disabled if the ``--no-keepaspect`` option is used. -- cgit v1.2.3