Commit ad96482d authored by Georg Martius's avatar Georg Martius Committed by Clément Bœsch

avfilter/vidstabtransform: allow negative zoom.

This is useful in addition to crop=black.
Signed-off-by: 's avatarClément Bœsch <clement@stupeflix.com>
parent b7bd6885
......@@ -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),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment