summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2013-08-20 20:56:39 +0200
committerClément Bœsch <u@pkh.me>2013-09-03 21:12:15 +0200
commit30d40c9e866b09b425953b165a1b456ad5c0ee44 (patch)
treedd57f1c3f4c9f0483ec649c5fdcd98b3ccea2975 /doc
parent493ebbd7eb08a84114e32c48fb13a480e78ae261 (diff)
lavfi/drawtext: add generic timeline interface and deprecate "draw".
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi12
1 files changed, 1 insertions, 11 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 858972f31d..f59d23a78e 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -3239,16 +3239,6 @@ Either a string (e.g. "yellow") or in 0xRRGGBB[AA] format
(e.g. "0xff00ff"), possibly followed by an alpha specifier.
The default value of @var{boxcolor} is "white".
-@item draw
-Set an expression which specifies if the text should be drawn. If the
-expression evaluates to 0, the text is not drawn. This is useful for
-specifying that the text should be drawn only when specific conditions
-are met.
-
-Default value is "1".
-
-See below for the list of accepted constants and functions.
-
@item expansion
Select how the @var{text} is expanded. Can be either @code{none},
@code{strftime} (deprecated) or
@@ -3548,7 +3538,7 @@ drawtext="fontsize=60:fontfile=FreeSerif.ttf:fontcolor=green:text=g:x=(w-max_gly
@item
Show text for 1 second every 3 seconds:
@example
-drawtext="fontfile=FreeSerif.ttf:fontcolor=white:x=100:y=x/dar:draw=lt(mod(t\,3)\,1):text='blink'"
+drawtext="fontfile=FreeSerif.ttf:fontcolor=white:x=100:y=x/dar:enable=lt(mod(t\,3)\,1):text='blink'"
@end example
@item