[FFmpeg-cvslog] doc/filters: fix localtime drawtext example.

Simon Thelen git at videolan.org
Sun Oct 19 05:16:14 CEST 2014


ffmpeg | branch: master | Simon Thelen <ffmpeg-dev at c-14.de> | Wed Sep 10 00:01:19 2014 +0200| [69071e8e9c04e406545d24479b9abc6cdacb158e] | committer: Michael Niedermayer

doc/filters: fix localtime drawtext example.

The colon after the localtime function call needs an additional layer of
escaping or else everything until the next colon is treated as a
fontfile.

Signed-off-by: Simon Thelen <ffmpeg-dev at c-14.de>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=69071e8e9c04e406545d24479b9abc6cdacb158e
---

 doc/filters.texi |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/filters.texi b/doc/filters.texi
index 1aefd6e..b847635 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -4174,7 +4174,7 @@ drawtext='fontfile=Linux Libertine O-40\:style=Semibold:text=FFmpeg'
 @item
 Print the date of a real-time encoding (see strftime(3)):
 @example
-drawtext='fontfile=FreeSans.ttf:text=%@{localtime:%a %b %d %Y@}'
+drawtext='fontfile=FreeSans.ttf:text=%@{localtime\:%a %b %d %Y@}'
 @end example
 
 @item



More information about the ffmpeg-cvslog mailing list