diff options
author | Paul B Mahol <onemda@gmail.com> | 2019-01-05 09:38:27 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2019-01-05 09:40:41 +0100 |
commit | f2e2456294663b86dd7b410a24bd60dcb21cc1b7 (patch) | |
tree | 15dfc843e0296056e7dab4bc38b50bd6356e50c7 /libavfilter | |
parent | 5faa1b8b5a04bd946bedd2648c802fbe9ba76599 (diff) | |
download | ffmpeg-f2e2456294663b86dd7b410a24bd60dcb21cc1b7.tar.gz |
avfilter/af_afir: adjust min partition size
Minimal value allowed by our FFT is 16 thus min partition size is 8.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/af_afir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/af_afir.c b/libavfilter/af_afir.c index c755dc1f6f..31919f62e9 100644 --- a/libavfilter/af_afir.c +++ b/libavfilter/af_afir.c @@ -842,8 +842,8 @@ static const AVOption afir_options[] = { { "channel", "set IR channel to display frequency response", OFFSET(ir_channel), AV_OPT_TYPE_INT, {.i64=0}, 0, 1024, VF }, { "size", "set video size", OFFSET(w), AV_OPT_TYPE_IMAGE_SIZE, {.str = "hd720"}, 0, 0, VF }, { "rate", "set video rate", OFFSET(frame_rate), AV_OPT_TYPE_VIDEO_RATE, {.str = "25"}, 0, INT32_MAX, VF }, - { "minp", "set min partition size", OFFSET(minp), AV_OPT_TYPE_INT, {.i64=8192}, 16, 32768, AF }, - { "maxp", "set max partition size", OFFSET(maxp), AV_OPT_TYPE_INT, {.i64=8192}, 16, 32768, AF }, + { "minp", "set min partition size", OFFSET(minp), AV_OPT_TYPE_INT, {.i64=8192}, 8, 32768, AF }, + { "maxp", "set max partition size", OFFSET(maxp), AV_OPT_TYPE_INT, {.i64=8192}, 8, 32768, AF }, { NULL } }; |