summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--DOCS/man/options.rst3
-rw-r--r--video/decode/vd_lavc.c1
2 files changed, 2 insertions, 2 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index e8790a4672..2a04b84ba3 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -1840,8 +1840,7 @@ Video
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.
+ decoder will apply the crop, else VO will handle it. Enabled by default.
``--swapchain-depth=<N>``
Allow up to N in-flight frames. This essentially controls the frame
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c
index 54a9975915..74d0b3c94d 100644
--- a/video/decode/vd_lavc.c
+++ b/video/decode/vd_lavc.c
@@ -147,6 +147,7 @@ const struct m_sub_options vd_lavc_conf = {
// for example, if vo_gpu increases the number of reference surfaces for
// interpolation, this value has to be increased too.
.hwdec_extra_frames = 6,
+ .apply_cropping = true,
},
};