[FFmpeg-cvslog] doc/codecs: Add missing documentation for apply_cropping

Michael Niedermayer git at videolan.org
Wed May 10 15:01:23 EEST 2017


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Tue May  9 17:23:35 2017 +0200| [ec1f869f0f5bcd3cd6d94bd761c2004d6d5a61ff] | committer: Michael Niedermayer

doc/codecs: Add missing documentation for apply_cropping

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ec1f869f0f5bcd3cd6d94bd761c2004d6d5a61ff
---

 doc/codecs.texi | 10 ++++++++++
 1 file changed, 10 insertions(+)

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.
 
+ at 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



More information about the ffmpeg-cvslog mailing list