diff options
author | Clément Bœsch <u@pkh.me> | 2015-09-08 23:05:54 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2015-09-08 23:06:40 +0200 |
commit | 1457610d87a02eb9174fb0500da8b0c1a62a2841 (patch) | |
tree | fa5636af706c974b0dc74323462e1fbee0c0aeab /libavfilter/af_asetnsamples.c | |
parent | 2d7726f7ab6c7939aa76c4ab6b22a9d6b2308c17 (diff) |
avfilter/asetnsamples: use AV_OPT_TYPE_BOOL for pad with zeros option
Diffstat (limited to 'libavfilter/af_asetnsamples.c')
-rw-r--r-- | libavfilter/af_asetnsamples.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/af_asetnsamples.c b/libavfilter/af_asetnsamples.c index e830643115..02668e47c8 100644 --- a/libavfilter/af_asetnsamples.c +++ b/libavfilter/af_asetnsamples.c @@ -47,8 +47,8 @@ typedef struct { static const AVOption asetnsamples_options[] = { { "nb_out_samples", "set the number of per-frame output samples", OFFSET(nb_out_samples), AV_OPT_TYPE_INT, {.i64=1024}, 1, INT_MAX, FLAGS }, { "n", "set the number of per-frame output samples", OFFSET(nb_out_samples), AV_OPT_TYPE_INT, {.i64=1024}, 1, INT_MAX, FLAGS }, - { "pad", "pad last frame with zeros", OFFSET(pad), AV_OPT_TYPE_INT, {.i64=1}, 0, 1, FLAGS }, - { "p", "pad last frame with zeros", OFFSET(pad), AV_OPT_TYPE_INT, {.i64=1}, 0, 1, FLAGS }, + { "pad", "pad last frame with zeros", OFFSET(pad), AV_OPT_TYPE_BOOL, {.i64=1}, 0, 1, FLAGS }, + { "p", "pad last frame with zeros", OFFSET(pad), AV_OPT_TYPE_BOOL, {.i64=1}, 0, 1, FLAGS }, { NULL } }; |