aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorМихаил Муковников <yndi@me.com>2014-12-02 17:09:30 +0300
committerLuca Barbato <lu_zero@gentoo.org>2014-12-07 13:15:03 +0100
commit71f29410e7c58f2ce4aef1d4b8d8d3c064c8ec06 (patch)
treefec0a3a97bf14234c4c404c06395729d9d9dbeab
parent9a738c27dceb4b975784b23213a46f5cb560d1c2 (diff)
downloadffmpeg-71f29410e7c58f2ce4aef1d4b8d8d3c064c8ec06.tar.gz
lavfi: Increase drawtext font size limits
Raise the maximum font size to a larger value. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-rw-r--r--libavfilter/vf_drawtext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c
index 54a8847ced..0befb5657d 100644
--- a/libavfilter/vf_drawtext.c
+++ b/libavfilter/vf_drawtext.c
@@ -169,7 +169,7 @@ static const AVOption drawtext_options[]= {
{ "boxcolor", NULL, OFFSET(boxcolor_string), AV_OPT_TYPE_STRING, { .str = "white" }, .flags = FLAGS },
{ "shadowcolor", NULL, OFFSET(shadowcolor_string), AV_OPT_TYPE_STRING, { .str = "black" }, .flags = FLAGS },
{ "box", NULL, OFFSET(draw_box), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, FLAGS },
- { "fontsize", NULL, OFFSET(fontsize), AV_OPT_TYPE_INT, { .i64 = 16 }, 1, 72, FLAGS },
+ { "fontsize", NULL, OFFSET(fontsize), AV_OPT_TYPE_INT, { .i64 = 16 }, 1, 1024, FLAGS },
{ "x", NULL, OFFSET(x_expr), AV_OPT_TYPE_STRING, { .str = "0" }, .flags = FLAGS },
{ "y", NULL, OFFSET(y_expr), AV_OPT_TYPE_STRING, { .str = "0" }, .flags = FLAGS },
{ "shadowx", NULL, OFFSET(shadowx), AV_OPT_TYPE_INT, { .i64 = 0 }, INT_MIN, INT_MAX, FLAGS },