avfilter/vidstabtransform: allow negative zoom.

This is useful in addition to crop=black.

Signed-off-by: Clément Bœsch <clement@stupeflix.com>
This commit is contained in:
Georg Martius 2013-09-13 11:31:56 +02:00 committed by Clément Bœsch
parent b7bd68853d
commit ad96482d67

View File

@ -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),