summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBernd Bleßmann <bb@it-entwicklung.de>2015-07-21 12:48:33 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-21 19:19:36 +0200
commitd2b78fe6b71f3637ea61c71c0dde1fe3e2544177 (patch)
tree3144dc8be6db6df84cce957cc018fb920f245eb0 /doc
parent99ad832c7ea96587bde61f10d77e200f3d236da2 (diff)
libavfilter/vf_crop: implement process_command
Signed-off-by: Bernd Bleßmann <bb@it-entwicklung.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi20
1 files changed, 18 insertions, 2 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 28aaef3e7e..348e8d7e90 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -3481,12 +3481,12 @@ It accepts the following parameters:
@item w, out_w
The width of the output video. It defaults to @code{iw}.
This expression is evaluated only once during the filter
-configuration.
+configuration, or when the @samp{w} or @samp{out_w} command is sent.
@item h, out_h
The height of the output video. It defaults to @code{ih}.
This expression is evaluated only once during the filter
-configuration.
+configuration, or when the @samp{h} or @samp{out_h} command is sent.
@item x
The horizontal position, in the input video, of the left edge of the output
@@ -3646,6 +3646,22 @@ crop=in_w/2:in_h/2:y:10+10*sin(n/10)
@end example
@end itemize
+@subsection Commands
+
+This filter supports the following commands:
+@table @option
+@item w, out_w
+@item h, out_h
+@item x
+@item y
+Set width/height of the output video and the horizontal/vertical position
+in the input video.
+The command accepts the same syntax of the corresponding option.
+
+If the specified expression is not valid, it is kept at its current
+value.
+@end table
+
@section cropdetect
Auto-detect the crop size.