[FFmpeg-cvslog] avfilter/vf_atadenoise: set default size value to 9

Paul B Mahol git at videolan.org
Tue Aug 16 00:10:28 EEST 2016


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Aug 15 23:04:08 2016 +0200| [3282e31baaa77d161a4451c27ad0d45f78e1da0a] | committer: Paul B Mahol

avfilter/vf_atadenoise: set default size value to 9

This is enough, bigger sizes do not produce better output in 99% cases.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3282e31baaa77d161a4451c27ad0d45f78e1da0a
---

 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 7cec357..cdea298 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 }
 };
 



More information about the ffmpeg-cvslog mailing list