diff options
author | Niklas Haas <git@nand.wakku.to> | 2016-04-03 13:55:37 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-04-03 14:51:31 +0200 |
commit | c0e13d54a85663ff8ac87d2910f1688978ea1f60 (patch) | |
tree | 81b8e28c24afba262d390ce5a4966da0f7e76300 /DOCS/man/options.rst | |
parent | 669a3228a2d3c5d63e2dd3bd0564c1274d6f3748 (diff) | |
download | mpv-c0e13d54a85663ff8ac87d2910f1688978ea1f60.tar.bz2 mpv-c0e13d54a85663ff8ac87d2910f1688978ea1f60.tar.xz |
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.
Diffstat (limited to 'DOCS/man/options.rst')
-rw-r--r-- | DOCS/man/options.rst | 10 |
1 files changed, 4 insertions, 6 deletions
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=<value>`` - 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. |