aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Utkin <andrey.od.utkin@gmail.com>2015-12-01 21:15:53 +0200
committerTimothy Gu <timothygu99@gmail.com>2015-12-01 17:32:05 -0800
commit482bece29bc35d9cf5be05259e82103532881768 (patch)
treedc2d02803b68d1a54edd2dbf8c21c111caf207ea
parent644296e736ee219cd02f7b7d7b7b4c7c5a464217 (diff)
downloadffmpeg-482bece29bc35d9cf5be05259e82103532881768.tar.gz
doc/filters/drawtext: fix centering example
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>
-rw-r--r--doc/filters.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index d714a2713d..2a2fab61a0 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -4967,7 +4967,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