1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 10:02:17 +00:00

DOCS/options: clarify the video-pan-x/y example

1fa6669bc0e60421f76c7507c3355537ca09fd0e misinterpreted the example and
changed the pixel value from 128 to 168 (thinking that it meant pixels
after scaling), but likely the original calculation was correct because
the line specifically says "of the source video". This is just confusing
not really useful information so instead change the example to a more
common resolution (1920x1080) and remove any references to the source
video resolution. Also mention video-pan-y while we're at it.
This commit is contained in:
Dudemanguy 2023-08-20 18:48:31 -05:00
parent 7d6f9e3739
commit 3422e5e1e8

View File

@ -1541,9 +1541,9 @@ Video
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.
For example, displaying a 1280x720 video fullscreen on a 1680x1050 screen
with ``--video-pan-x=-0.1`` would move the video 168 pixels to the left
(making 168 pixels of the source video invisible).
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
``--video-pan-y=-0.1`` would move the video 108 pixels up.
This option is disabled if the ``--no-keepaspect`` option is used.