summaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_vidstabtransform.c
diff options
context:
space:
mode:
authorGeorg Martius <georg.martius@web.de>2013-09-13 11:31:56 +0200
committerClément Bœsch <clement@stupeflix.com>2013-09-13 11:46:44 +0200
commitad96482d67b24bbbf9808a30460e0d6c93d259dc (patch)
treed58cf730526d9fdf7082dfa955d12ab9aa7323cc /libavfilter/vf_vidstabtransform.c
parentb7bd68853d67dfb5e5ccbffa255e305fff602b95 (diff)
downloadffmpeg-streaming-ad96482d67b24bbbf9808a30460e0d6c93d259dc.zip
ffmpeg-streaming-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_vidstabtransform.c b/libavfilter/vf_vidstabtransform.c
index ca24c46..5152325 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),
OpenPOWER on IntegriCloud