doc/filters/drawtext: fix centering example
authorAndrey Utkin <andrey.od.utkin@gmail.com>
Tue, 1 Dec 2015 19:15:53 +0000 (21:15 +0200)
committerTimothy Gu <timothygu99@gmail.com>
Wed, 2 Dec 2015 01:32:45 +0000 (17:32 -0800)
Signed-off-by: Andrey Utkin <andrey.od.utkin@gmail.com>
Signed-off-by: Lou Logan <lou@lrcd.com>
(cherry picked from commit 648b26acc5e25ab40c43fddc54b50e9f0b13ebd8)
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
doc/filters.texi

index 4b5c3c1..9a2fd98 100644 (file)
@@ -4343,7 +4343,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