summaryrefslogtreecommitdiffstats
path: root/DOCS/man/options.rst
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-09-01 12:26:38 +0200
committerDudemanguy <random342@airmail.cc>2023-09-08 02:27:08 +0000
commit826ce82cad315f7a48f9c971d3a5fa005a9eab46 (patch)
treef7112d46fc83de7f1b28252fe004f1ec41deee80 /DOCS/man/options.rst
parent4d853c55454481c60d3d096a9bc4205e8adec766 (diff)
downloadmpv-826ce82cad315f7a48f9c971d3a5fa005a9eab46.tar.bz2
mpv-826ce82cad315f7a48f9c971d3a5fa005a9eab46.tar.xz
vd_lavc: disable cropping by decoder
Cropping by decoder has limitations with regards to aligment and hwdec. It doesn't work to offset top left corner with hwdec and even with software decoding it don't crop fully when resulting data would not be aligned. VO cropping is way more robust.
Diffstat (limited to 'DOCS/man/options.rst')
-rw-r--r--DOCS/man/options.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 3090be72f0..a545947fe9 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -1834,6 +1834,14 @@ Video
this can break on streams not encoded by x264, or if a stream encoded by a
newer x264 version contains no version info.
+``--vd-apply-cropping``
+ Certain video codecs support cropping, meaning that only a sub-rectangle of
+ the decoded frame is intended for display. This option controls how cropping
+ is handled by libavcodec. Cropping during decoding has certain limitations
+ with regards to alignment and hardware decoding. If this option is enabled,
+ decoder will apply the crop. Disabled by default, VO will apply the crop in
+ a more robust way.
+
``--swapchain-depth=<N>``
Allow up to N in-flight frames. This essentially controls the frame
latency. Increasing the swapchain depth can improve pipelining and prevent