summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-08-25 19:29:33 +0200
committerDudemanguy <random342@airmail.cc>2023-08-31 17:37:42 +0000
commitc9c9822289cd7369f3804728b4e973034518ce0f (patch)
tree7cc9a2832246862a67f53c52a7c407f64e90c414 /DOCS
parent817845645f9440978866f77f306292a6d865d64f (diff)
downloadmpv-c9c9822289cd7369f3804728b4e973034518ce0f.tar.bz2
mpv-c9c9822289cd7369f3804728b4e973034518ce0f.tar.xz
player/command: add video-params/crop-[w,h,x,y]
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/interface-changes.rst1
-rw-r--r--DOCS/man/input.rst6
2 files changed, 7 insertions, 0 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst
index eeccd06851..172a57195f 100644
--- a/DOCS/interface-changes.rst
+++ b/DOCS/interface-changes.rst
@@ -55,6 +55,7 @@ Interface changes
- change `--directory-mode` default to `lazy`
- remove deprecated `video-aspect` property
- add `--video-crop`
+ - add `video-params/crop-[w,h,x,y]`
--- mpv 0.36.0 ---
- add `--target-contrast`
- Target luminance value is now also applied when ICC profile is used.
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 4abbce9f0a..3dfb367410 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -2410,6 +2410,12 @@ Property list
``video-params/dw``, ``video-params/dh``
Video size as integers, scaled for correct aspect ratio.
+ ``video-params/crop-x``, ``video-params/crop-y``
+ Crop offset of the source video frame.
+
+ ``video-params/crop-w``, ``video-params/crop-h``
+ Video size after cropping.
+
``video-params/aspect``
Display aspect ratio as float.