Commit 56b39bd5 authored by Stefano Sabatini's avatar Stefano Sabatini

doc/filters: document rand() drawtext expression function

parent f4a6c3b0
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment