summaryrefslogtreecommitdiff
path: root/libavfilter/af_afir.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2019-01-05 09:38:27 +0100
committerPaul B Mahol <onemda@gmail.com>2019-01-05 09:40:41 +0100
commitf2e2456294663b86dd7b410a24bd60dcb21cc1b7 (patch)
tree15dfc843e0296056e7dab4bc38b50bd6356e50c7 /libavfilter/af_afir.c
parent5faa1b8b5a04bd946bedd2648c802fbe9ba76599 (diff)
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/af_afir.c')
-rw-r--r--libavfilter/af_afir.c4
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 }
};