summaryrefslogtreecommitdiffstats
path: root/DOCS/man/options.rst
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-09-01 12:24:13 +0200
committerDudemanguy <random342@airmail.cc>2023-09-08 02:27:08 +0000
commit37d0deadd40d57b43bd8020f0143be46f3bf998a (patch)
treeacb8f26714b9f6c28a452c4ef8ed8e549c8f5789 /DOCS/man/options.rst
parentff7da2f5c0ec0bded0c843c04cdbe1adba976a45 (diff)
downloadmpv-37d0deadd40d57b43bd8020f0143be46f3bf998a.tar.bz2
mpv-37d0deadd40d57b43bd8020f0143be46f3bf998a.tar.xz
video: allow overriding container crop if it is present
Setting `--video-crop=0x0+0+0` applies full frame crop, ignoring the container one. Setting --video-crop=0 disables manual crop and restores container one if it is available.
Diffstat (limited to 'DOCS/man/options.rst')
-rw-r--r--DOCS/man/options.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 139e32a289..3090be72f0 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -1570,8 +1570,11 @@ Video
Crop the video by starting at the x, y offset for w, h pixels. The crop is
applied to the source video rectangle (before anamorphic stretch) by the VO.
A crop rectangle that is not within the video rectangle will be ignored.
- This works with hwdec, unlike the equivalent 'lavfi-crop'. Setting the crop
- to '0' disables it. When offset is omitted, the central area will be cropped.
+ This works with hwdec, unlike the equivalent 'lavfi-crop'. When offset is
+ omitted, the central area will be cropped. Setting the crop to empty one
+ ``--video-crop=0x0+0+0`` overrides container crop and disables cropping.
+ Setting the crop to ``--video-crop=0`` disables manual cropping and restores
+ the container crop if it's specified.
``--video-zoom=<value>``
Adjust the video display scale factor by the given value. The parameter is