diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-04-02 11:26:41 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-04-02 11:48:01 +0200 |
commit | 0fff764bdb68f480d75f001f1b09e337cb264990 (patch) | |
tree | 070f7c7ce70bce98d2e1146472dac17b8b344714 | |
parent | 4defa68fe25eae4d7c27341e3b35811c047dcd3f (diff) | |
download | ffmpeg-0fff764bdb68f480d75f001f1b09e337cb264990.tar.gz |
drawtext: allow negative shadow offset values
-rw-r--r-- | libavfilter/vf_drawtext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c index 9b6ae7d179..99045b7b4b 100644 --- a/libavfilter/vf_drawtext.c +++ b/libavfilter/vf_drawtext.c @@ -98,8 +98,8 @@ static const AVOption drawtext_options[]= { {"fontsize", "set font size", OFFSET(fontsize), FF_OPT_TYPE_INT, 16, 1, 72 }, {"x", "set x", OFFSET(x), FF_OPT_TYPE_INT, 0, 0, INT_MAX }, {"y", "set y", OFFSET(y), FF_OPT_TYPE_INT, 0, 0, INT_MAX }, -{"shadowx", "set x", OFFSET(shadowx), FF_OPT_TYPE_INT, 0, 0, INT_MAX }, -{"shadowy", "set y", OFFSET(shadowy), FF_OPT_TYPE_INT, 0, 0, INT_MAX }, +{"shadowx", "set x", OFFSET(shadowx), FF_OPT_TYPE_INT, 0, INT_MIN, INT_MAX }, +{"shadowy", "set y", OFFSET(shadowy), FF_OPT_TYPE_INT, 0, INT_MIN, INT_MAX }, {"tabsize", "set tab size", OFFSET(tabsize), FF_OPT_TYPE_INT, 4, 0, INT_MAX }, /* FT_LOAD_* flags */ |