diff options
author | Clément Bœsch <u@pkh.me> | 2015-09-09 01:02:07 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2015-09-09 01:02:07 +0200 |
commit | 9f4e096496132f3d42252f04187ad07234913c31 (patch) | |
tree | 47b5e38fab36a2cbd7c18bc92b918d501539f2c0 | |
parent | 14d6c68824d1e5a0e4439b90c4776a9346211c25 (diff) | |
download | ffmpeg-9f4e096496132f3d42252f04187ad07234913c31.tar.gz |
avfilter/vignette: use AV_OPT_TYPE_BOOL for dither option
-rw-r--r-- | libavfilter/vf_vignette.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_vignette.c b/libavfilter/vf_vignette.c index c1bafa8951..54515e6087 100644 --- a/libavfilter/vf_vignette.c +++ b/libavfilter/vf_vignette.c @@ -90,7 +90,7 @@ static const AVOption vignette_options[] = { { "eval", "specify when to evaluate expressions", OFFSET(eval_mode), AV_OPT_TYPE_INT, {.i64 = EVAL_MODE_INIT}, 0, EVAL_MODE_NB-1, FLAGS, "eval" }, { "init", "eval expressions once during initialization", 0, AV_OPT_TYPE_CONST, {.i64=EVAL_MODE_INIT}, .flags = FLAGS, .unit = "eval" }, { "frame", "eval expressions for each frame", 0, AV_OPT_TYPE_CONST, {.i64=EVAL_MODE_FRAME}, .flags = FLAGS, .unit = "eval" }, - { "dither", "set dithering", OFFSET(do_dither), AV_OPT_TYPE_INT, {.i64 = 1}, 0, 1, FLAGS }, + { "dither", "set dithering", OFFSET(do_dither), AV_OPT_TYPE_BOOL, {.i64 = 1}, 0, 1, FLAGS }, { "aspect", "set aspect ratio", OFFSET(aspect), AV_OPT_TYPE_RATIONAL, {.dbl = 1}, 0, DBL_MAX, .flags = FLAGS }, { NULL } }; |