doc/filters/drawtext: fix centering example
authorAndrey Utkin <andrey.od.utkin@gmail.com>
Tue, 1 Dec 2015 19:15:53 +0000 (21:15 +0200)
committerLou Logan <lou@lrcd.com>
Wed, 2 Dec 2015 00:25:17 +0000 (15:25 -0900)
Signed-off-by: Andrey Utkin <andrey.od.utkin@gmail.com>
Signed-off-by: Lou Logan <lou@lrcd.com>
doc/filters.texi

index dcb3828..b3ab84a 100644 (file)
@@ -5605,7 +5605,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)/2"
 @end example
 
 @item