summaryrefslogtreecommitdiff
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:36:23 -0800
commit32ba667dc7fd737dda5b2cec11eed6a01d8e5bc9 (patch)
treeff2f2ffb5ce9baec63c9738ba799d143578b9325
parent206129843857f00bb29c1b5e62e8940f792acbde (diff)
downloadffmpeg-32ba667dc7fd737dda5b2cec11eed6a01d8e5bc9.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 0cf53aeb6f..41b676936b 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