Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-12-23 21:24:57 +0400
committerStefano Sabatini <stefasab@gmail.com>2013-12-25 21:25:53 +0400
commit97aa554634044b84a498f41ac9bd88b688731c3b (patch)
tree31ec381ccdd68888939b3e1655bb41fe167502b5 /doc/filters.texi
parent7619a87cc8b9a1ac6ea6cf03b674f5a74b1ac90c (diff)
lavfi/volume: implement process_command() callback, with the volume command
Address trac ticket #2868.
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi15
1 files changed, 14 insertions, 1 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 548cb43801..a57996468f 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -1828,7 +1828,8 @@ Set when the volume expression is evaluated.
It accepts the following values:
@table @samp
@item once
-only evaluate expression once during the filter initialization
+only evaluate expression once during the filter initialization, or
+when the @samp{volume} command is sent
@item frame
evaluate expression for each incoming frame
@@ -1870,6 +1871,18 @@ Note that when @option{eval} is set to @samp{once} only the
@var{sample_rate} and @var{tb} variables are available, all other
variables will evaluate to NAN.
+@subsection Commands
+
+This filter supports the following commands:
+@table @option
+@item volume
+Modify the volume expression.
+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
+
@subsection Examples
@itemize