diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-25 17:51:56 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-02-17 17:36:27 +0100 |
commit | 09ece9fa6c454e7c039990363a0fbe838d68d5c1 (patch) | |
tree | 769dc18f0d0d53b8eb8ca3db5e44608980b72a63 /doc/eval.texi | |
parent | cf36180143b3f093f89193b8ca0dd265ed809680 (diff) | |
download | ffmpeg-09ece9fa6c454e7c039990363a0fbe838d68d5c1.tar.gz |
eval: print() support
This allows printing values via av_log from expressions.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/eval.texi')
-rw-r--r-- | doc/eval.texi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/eval.texi b/doc/eval.texi index 9b98c18cdf..3b7964ce4c 100644 --- a/doc/eval.texi +++ b/doc/eval.texi @@ -124,6 +124,14 @@ Return 1.0 if @var{expr} is zero, 0.0 otherwise. Compute the power of @var{x} elevated @var{y}, it is equivalent to "(@var{x})^(@var{y})". +@item print(t) +@item print(t, l) +Print the value of expression @var{t} with loglevel @var{l}. If +@var{l} is not specified then a default log level is used. +Returns the value of the expression printed. + +Prints t with loglevel l + @item random(x) Return a pseudo random value between 0.0 and 1.0. @var{x} is the index of the internal variable which will be used to save the seed/state. |