From 3282e31baaa77d161a4451c27ad0d45f78e1da0a Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 15 Aug 2016 23:04:08 +0200 Subject: [PATCH] avfilter/vf_atadenoise: set default size value to 9 This is enough, bigger sizes do not produce better output in 99% cases. --- libavfilter/vf_atadenoise.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_atadenoise.c b/libavfilter/vf_atadenoise.c index 7cec35773b..cdea298a82 100644 --- a/libavfilter/vf_atadenoise.c +++ b/libavfilter/vf_atadenoise.c @@ -67,7 +67,7 @@ static const AVOption atadenoise_options[] = { { "1b", "set threshold B for 2nd plane", OFFSET(fthrb[1]), AV_OPT_TYPE_FLOAT, {.dbl=0.04}, 0, 5.0, FLAGS }, { "2a", "set threshold A for 3rd plane", OFFSET(fthra[2]), AV_OPT_TYPE_FLOAT, {.dbl=0.02}, 0, 0.3, FLAGS }, { "2b", "set threshold B for 3rd plane", OFFSET(fthrb[2]), AV_OPT_TYPE_FLOAT, {.dbl=0.04}, 0, 5.0, FLAGS }, - { "s", "set how many frames to use", OFFSET(size), AV_OPT_TYPE_INT, {.i64=33}, 5, SIZE, FLAGS }, + { "s", "set how many frames to use", OFFSET(size), AV_OPT_TYPE_INT, {.i64=9}, 5, SIZE, FLAGS }, { NULL } };