diff options
author | Clément Bœsch <u@pkh.me> | 2015-09-09 01:15:42 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2015-09-09 01:15:42 +0200 |
commit | 7b6007204d9e7c3855d365099f9115f45580acd4 (patch) | |
tree | 84087c9214e85eb152b07e90044211d2ae63f7ff /libavfilter | |
parent | c826f9b2848775a428019b2fd907a0f3281fed4e (diff) | |
download | ffmpeg-7b6007204d9e7c3855d365099f9115f45580acd4.tar.gz |
avfilter/cellauto: use AV_OPT_TYPE_BOOL for a few options
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vsrc_cellauto.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavfilter/vsrc_cellauto.c b/libavfilter/vsrc_cellauto.c index facafc7a71..0638825227 100644 --- a/libavfilter/vsrc_cellauto.c +++ b/libavfilter/vsrc_cellauto.c @@ -74,10 +74,10 @@ static const AVOption cellauto_options[] = { { "ratio", "set fill ratio for filling initial grid randomly", OFFSET(random_fill_ratio), AV_OPT_TYPE_DOUBLE, {.dbl = 1/M_PHI}, 0, 1, FLAGS }, { "random_seed", "set the seed for filling the initial grid randomly", OFFSET(random_seed), AV_OPT_TYPE_INT, {.i64 = -1}, -1, UINT32_MAX, FLAGS }, { "seed", "set the seed for filling the initial grid randomly", OFFSET(random_seed), AV_OPT_TYPE_INT, {.i64 = -1}, -1, UINT32_MAX, FLAGS }, - { "scroll", "scroll pattern downward", OFFSET(scroll), AV_OPT_TYPE_INT, {.i64 = 1}, 0, 1, FLAGS }, - { "start_full", "start filling the whole video", OFFSET(start_full), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, FLAGS }, - { "full", "start filling the whole video", OFFSET(start_full), AV_OPT_TYPE_INT, {.i64 = 1}, 0, 1, FLAGS }, - { "stitch", "stitch boundaries", OFFSET(stitch), AV_OPT_TYPE_INT, {.i64 = 1}, 0, 1, FLAGS }, + { "scroll", "scroll pattern downward", OFFSET(scroll), AV_OPT_TYPE_BOOL, {.i64 = 1}, 0, 1, FLAGS }, + { "start_full", "start filling the whole video", OFFSET(start_full), AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, FLAGS }, + { "full", "start filling the whole video", OFFSET(start_full), AV_OPT_TYPE_BOOL, {.i64 = 1}, 0, 1, FLAGS }, + { "stitch", "stitch boundaries", OFFSET(stitch), AV_OPT_TYPE_BOOL, {.i64 = 1}, 0, 1, FLAGS }, { NULL } }; |