[FFmpeg-cvslog] drawtext: fix minor errors and typos in the filter description

Stefano Sabatini git at videolan.org
Sun Mar 27 19:06:20 CEST 2011


ffmpeg | branch: master | Stefano Sabatini <stefano.sabatini-lala at poste.it> | Sun Mar 27 18:21:54 2011 +0200| [5c5816c4e3e4b267788ce5756728539fe6c49549] | committer: Stefano Sabatini

drawtext: fix minor errors and typos in the filter description

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

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

diff --git a/doc/filters.texi b/doc/filters.texi
index 25be868..1b38910 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -411,13 +411,15 @@ This parameter is mandatory.
 @item text
 The text string to be drawn. The text must be a sequence of UTF-8
 encoded characters.
-This parameter is mandatory if no file is specified.
+This parameter is mandatory if no file is specified with the parameter
+ at var{textfile}.
 
 @item textfile
 A text file containing text to be drawn. The text must be a sequence
-of UTF-8 encoded characters
+of UTF-8 encoded characters.
 
-This parameter is mandatory if no text string is specified.
+This parameter is mandatory if no text string is specified with the
+parameter @var{text}.
 
 If both text and textfile are specified, an error is thrown.
 
@@ -429,7 +431,7 @@ The default value of @var{x} and @var{y} is 0.
 
 @item fontsize
 The font size to be used for drawing text.
-The default value of @var{size} is 16.
+The default value of @var{fontsize} is 16.
 
 @item fontcolor
 The color to be used for drawing fonts.
@@ -485,7 +487,7 @@ Default value is 4.
 
 For example the command:
 @example
-drawtext=fontfile=FreeSerif.ttf: text='Test Text': x=100: y=50: fontsize=24: fontcolor=yellow@@0.2: boxcolor=red@@0.2: box=1"
+drawtext="fontfile=FreeSerif.ttf: text='Test Text': x=100: y=50: fontsize=24: fontcolor=yellow@@0.2: boxcolor=red@@0.2: box=1"
 @end example
 
 will draw 'Test Text' with font FreeSerif of size 24 at position
@@ -496,7 +498,7 @@ Note that the double quotes are not necessary if spaces are not used
 within the parameter list.
 
 For more information about libfreetype, check:
- at url{http://www.freetype.org/}
+ at url{http://www.freetype.org/}.
 
 @section fifo
 




More information about the ffmpeg-cvslog mailing list