From ec1f869f0f5bcd3cd6d94bd761c2004d6d5a61ff Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 9 May 2017 17:23:35 +0200 Subject: doc/codecs: Add missing documentation for apply_cropping Signed-off-by: Michael Niedermayer --- doc/codecs.texi | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc') diff --git a/doc/codecs.texi b/doc/codecs.texi index 1f74c83554..26a3a65054 100644 --- a/doc/codecs.texi +++ b/doc/codecs.texi @@ -1279,6 +1279,16 @@ ffprobe -dump_separator " Maximum number of pixels per image. This value can be used to avoid out of memory failures due to large images. +@item apply_cropping @var{bool} (@emph{decoding,video}) +Enable cropping if cropping parameters are multiples of the required +alignment for the left and top parameters. If the alignment is not met the +cropping will be partially applied to maintain alignment. +Default is 1 (enabled). +Note: The required alignment depends on if @code{AV_CODEC_FLAG_UNALIGNED} is set and the +CPU. @code{AV_CODEC_FLAG_UNALIGNED} cannot be changed from the command line. Also hardware +decoders will not apply left/top Cropping. + + @end table @c man end CODEC OPTIONS -- cgit v1.2.3