From ad96482d67b24bbbf9808a30460e0d6c93d259dc Mon Sep 17 00:00:00 2001 From: Georg Martius Date: Fri, 13 Sep 2013 11:31:56 +0200 Subject: [PATCH] avfilter/vidstabtransform: allow negative zoom. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is useful in addition to crop=black. Signed-off-by: Clément Bœsch --- libavfilter/vf_vidstabtransform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),