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

Andrey Utkin git at videolan.org
Wed Dec 2 02:36:29 CET 2015


ffmpeg | branch: release/2.1 | Andrey Utkin <andrey.od.utkin at gmail.com> | Tue Dec  1 21:15:53 2015 +0200| [32ba667dc7fd737dda5b2cec11eed6a01d8e5bc9] | committer: Timothy Gu

doc/filters/drawtext: fix centering example

Signed-off-by: Andrey Utkin <andrey.od.utkin at gmail.com>
Signed-off-by: Lou Logan <lou at lrcd.com>
(cherry picked from commit 648b26acc5e25ab40c43fddc54b50e9f0b13ebd8)
Signed-off-by: Timothy Gu <timothygu99 at gmail.com>

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

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

diff --git a/doc/filters.texi b/doc/filters.texi
index 0cf53ae..41b6769 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -3656,7 +3656,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



More information about the ffmpeg-cvslog mailing list