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:33:12 -0800
commitdc5bec14ab7d686b72aa85c38937dd29cf3e0289 (patch)
treea0f47b34c51ae2e9f484f66c8cf28641d982c7ad
parent5c2f083abbfcc5bb01f80dbc1f130db84cf2262e (diff)
downloadffmpeg-dc5bec14ab7d686b72aa85c38937dd29cf3e0289.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 31334da2f2..64b91ec284 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -4135,7 +4135,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