[FFmpeg-cvslog] doc/filters: consistently use '"' for quoting the drawtext arguments in examples

Stefano Sabatini git at videolan.org
Thu May 3 10:40:07 CEST 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Thu May  3 10:35:24 2012 +0200| [20f47eb5741ce895a80dc775fffa08b9b99ffed1] | committer: Stefano Sabatini

doc/filters: consistently use '"' for quoting the drawtext arguments in examples

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

 doc/filters.texi |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/filters.texi b/doc/filters.texi
index 79e3ae7..991a145 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -1476,7 +1476,7 @@ within the parameter list.
 @item
 Show the text at the center of the video frame:
 @example
-drawtext=fontsize=30:fontfile=FreeSerif.ttf:text='hello world':x=(w-text_w)/2:y=(h-text_h-line_h)/2"
+drawtext="fontsize=30:fontfile=FreeSerif.ttf:text='hello world':x=(w-text_w)/2:y=(h-text_h-line_h)/2"
 @end example
 
 @item
@@ -1484,20 +1484,20 @@ Show a text line sliding from right to left in the last row of the video
 frame. The file @file{LONG_LINE} is assumed to contain a single line
 with no newlines.
 @example
-drawtext=fontsize=15:fontfile=FreeSerif.ttf:text=LONG_LINE:y=h-line_h:x=-50*t
+drawtext="fontsize=15:fontfile=FreeSerif.ttf:text=LONG_LINE:y=h-line_h:x=-50*t"
 @end example
 
 @item
 Show the content of file @file{CREDITS} off the bottom of the frame and scroll up.
 @example
-drawtext=fontsize=20:fontfile=FreeSerif.ttf:textfile=CREDITS:y=h-20*t"
+drawtext="fontsize=20:fontfile=FreeSerif.ttf:textfile=CREDITS:y=h-20*t"
 @end example
 
 @item
 Draw a single green letter "g", at the center of the input video.
 The glyph baseline is placed at half screen height.
 @example
-drawtext=fontsize=60:fontfile=FreeSerif.ttf:fontcolor=green:text=g:x=(w-max_glyph_w)/2:y=h/2-ascent
+drawtext="fontsize=60:fontfile=FreeSerif.ttf:fontcolor=green:text=g:x=(w-max_glyph_w)/2:y=h/2-ascent"
 @end example
 
 @item



More information about the ffmpeg-cvslog mailing list