summaryrefslogtreecommitdiffstats
path: root/DOCS/man/options.rst
diff options
context:
space:
mode:
authorllyyr <llyyr.public@gmail.com>2023-09-01 00:46:03 +0530
committerDudemanguy <random342@airmail.cc>2023-09-02 16:18:31 +0000
commitf52056b76da180bd3a04365e7da178f15cdb44a7 (patch)
tree3a17cac0d6b7cf3cfbc5c1add349aa758f619223 /DOCS/man/options.rst
parent022dbfc977c3d88cf693ce184c2f86073ae12428 (diff)
downloadmpv-f52056b76da180bd3a04365e7da178f15cdb44a7.tar.bz2
mpv-f52056b76da180bd3a04365e7da178f15cdb44a7.tar.xz
Revert "aspect: change --video-pan-x/y to be relative to the destination rect"
There are way too many preexisting scripts that rely on this behavior for video panning, like for example scripts that allow you to use mpv as an image viewer. If this behavior is desired then it may be better to add a new option for panning relative to the destination instead. The restriction of video-pan-x/y being clamped to {-3, 3} also results in the video being impossible to pan if it was zoomed in beyond a certain degree. This reverts commit 7d6f9e37397ed57be0f1375afe8fddfc451aa152.
Diffstat (limited to 'DOCS/man/options.rst')
-rw-r--r--DOCS/man/options.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 7a36e78f79..ebd0882acf 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -1546,7 +1546,9 @@ Video
``--video-pan-x=<value>``, ``--video-pan-y=<value>``
Moves the displayed video rectangle by the given value in the X or Y
- direction. The unit is in fractions of the size of the destination rectangle.
+ direction. The unit is in fractions of the size of the scaled video (the
+ full size, even if parts of the video are not visible due to panscan or
+ other options).
For example, displaying a video fullscreen on a 1920x1080 screen with
``--video-pan-x=-0.1`` would move the video 192 pixels to the left and