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

Andrey Utkin andrey.od.utkin at gmail.com
Tue Dec 1 20:15:53 CET 2015


Signed-off-by: Andrey Utkin <andrey.od.utkin at gmail.com>
---
 doc/filters.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/filters.texi b/doc/filters.texi
index fc71a99..06686bd 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -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
-- 
2.6.3



More information about the ffmpeg-devel mailing list