diff options
author | Georg Martius <georg.martius@web.de> | 2013-09-13 11:31:56 +0200 |
---|---|---|
committer | Clément Bœsch <clement@stupeflix.com> | 2013-09-13 11:46:44 +0200 |
commit | ad96482d67b24bbbf9808a30460e0d6c93d259dc (patch) | |
tree | d58cf730526d9fdf7082dfa955d12ab9aa7323cc /libavfilter/vf_vidstabtransform.c | |
parent | b7bd68853d67dfb5e5ccbffa255e305fff602b95 (diff) | |
download | ffmpeg-ad96482d67b24bbbf9808a30460e0d6c93d259dc.tar.gz |
avfilter/vidstabtransform: allow negative zoom.
This is useful in addition to crop=black.
Signed-off-by: Clément Bœsch <clement@stupeflix.com>
Diffstat (limited to 'libavfilter/vf_vidstabtransform.c')
-rw-r--r-- | libavfilter/vf_vidstabtransform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_vidstabtransform.c b/libavfilter/vf_vidstabtransform.c index ca24c46da5..51523253aa 100644 --- a/libavfilter/vf_vidstabtransform.c +++ b/libavfilter/vf_vidstabtransform.c @@ -65,7 +65,7 @@ static const AVOption vidstabtransform_options[] = { {"relative", "consider transforms as 0: absolute, 1: relative", OFFSETC(relative), AV_OPT_TYPE_INT, {.i64 = 1}, 0, 1, FLAGS}, {"zoom", "percentage to zoom >0: zoom in, <0 zoom out", OFFSETC(zoom), - AV_OPT_TYPE_DOUBLE, {.dbl = 0}, 0, 100, FLAGS}, + AV_OPT_TYPE_DOUBLE, {.dbl = 0}, -100, 100, FLAGS}, {"optzoom", "0: nothing, 1: determine optimal zoom (added to 'zoom')", OFFSETC(optZoom), AV_OPT_TYPE_INT, {.i64 = 1}, 0, 1, FLAGS}, {"interpol", "type of interpolation", OFFSETC(interpolType), |