summaryrefslogtreecommitdiff
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-05-01 12:52:16 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-05-03 10:26:41 +0200
commit56b39bd55d4a280fbdd7f5a1e0bd809ad4700f91 (patch)
tree0c3ad48da9ea466ba02f1c567303b1a0c2318a69 /doc/filters.texi
parentf4a6c3b099619308bc2f7c58c5cf5ea90ae32233 (diff)
doc/filters: document rand() drawtext expression function
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index a965e3f7e5..11122f91b9 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -1364,11 +1364,11 @@ output image.
The default value of @var{x} and @var{y} is "0".
-See below for the list of accepted constants.
+See below for the list of accepted constants and functions.
@end table
The parameters for @var{x} and @var{y} are expressions containing the
-following constants:
+following constants and functions:
@table @option
@item dar
@@ -1412,6 +1412,9 @@ contained in the rendered text
@item n
the number of input frame, starting from 0
+@item rand(min, max)
+return a random number included between @var{min} and @var{max}
+
@item sar
input sample aspect ratio