diff options
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 0f73314..6bea105 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -3911,6 +3911,15 @@ example the text size is not known when evaluating the expression, so the constants @var{text_w} and @var{text_h} will have an undefined value. +@item eif +Evaluate the expression's value and output as formatted integer. + +First argument is expression to be evaluated, same as for @var{expr} function. +Second argument specifies output format. Allowed values are 'x', 'X', 'd' and +'u', they are treated exactly as in printf function. +Third parameter is optional and sets the number of positions taken by output. +Effectively this allows to add padding with zeros from the left. + @item gmtime The time at which the filter is running, expressed in UTC. It can accept an argument: a strftime() format string. |