aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2018-12-28 18:33:14 +0100
committerPaul B Mahol <onemda@gmail.com>2018-12-29 08:35:23 +0100
commit8007e8fc67e3a36ad065415356aa057f01cd83b6 (patch)
tree8ae030b6aa9f6f73c81ca8853d7b021a39183fb2 /libavfilter
parentc343e81ffd3008e6df9440bf66e2850e41574099 (diff)
downloadffmpeg-8007e8fc67e3a36ad065415356aa057f01cd83b6.tar.gz
avfilter/af_afir: fix minp/maxp range and change default value for maxp
Diffstat (limited to 'libavfilter')
-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 743f7d2658..ca0c8811a4 100644
--- a/libavfilter/af_afir.c
+++ b/libavfilter/af_afir.c
@@ -735,8 +735,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=16}, 16, 65536, AF },
- { "maxp", "set max partition size", OFFSET(maxp), AV_OPT_TYPE_INT, {.i64=65536}, 16, 65536, AF },
+ { "minp", "set min partition size", OFFSET(minp), AV_OPT_TYPE_INT, {.i64=16}, 16, 32768, AF },
+ { "maxp", "set max partition size", OFFSET(maxp), AV_OPT_TYPE_INT, {.i64=8192}, 16, 32768, AF },
{ NULL }
};