Skip to content
Snippets Groups Projects
Commit 14d6c688 authored by Clément Bœsch's avatar Clément Bœsch
Browse files

avfilter/vidstabtransform: use AV_OPT_TYPE_BOOL for tripod and debug options

parent b761033e
No related branches found
No related tags found
No related merge requests found
...@@ -96,9 +96,9 @@ static const AVOption vidstabtransform_options[] = { ...@@ -96,9 +96,9 @@ static const AVOption vidstabtransform_options[] = {
AV_OPT_TYPE_CONST, {.i64 = VS_BiCubic },0, 0, FLAGS, "interpol"}, AV_OPT_TYPE_CONST, {.i64 = VS_BiCubic },0, 0, FLAGS, "interpol"},
{"tripod", "enable virtual tripod mode (same as relative=0:smoothing=0)", OFFSET(tripod), {"tripod", "enable virtual tripod mode (same as relative=0:smoothing=0)", OFFSET(tripod),
AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, FLAGS}, AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, FLAGS},
{"debug", "enable debug mode and writer global motions information to file", OFFSET(debug), {"debug", "enable debug mode and writer global motions information to file", OFFSET(debug),
AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, FLAGS}, AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, FLAGS},
{NULL} {NULL}
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment