[FFmpeg-cvslog] avfilter/af_afftdn: add alias for sample_noise end

Paul B Mahol git at videolan.org
Sun Oct 28 16:02:36 EET 2018


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Oct 28 15:00:34 2018 +0100| [0c8b5cb369fcbd63ab1c54103226eb556d8c70dc] | committer: Paul B Mahol

avfilter/af_afftdn: add alias for sample_noise end

Added the same one as one mentioned in documentation.

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

 libavfilter/af_afftdn.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavfilter/af_afftdn.c b/libavfilter/af_afftdn.c
index 77e5406d1d..428375b694 100644
--- a/libavfilter/af_afftdn.c
+++ b/libavfilter/af_afftdn.c
@@ -1381,7 +1381,8 @@ static int process_command(AVFilterContext *ctx, const char *cmd, const char *ar
         if (!strcmp(args, "start")) {
             s->sample_noise_start = 1;
             s->sample_noise_end = 0;
-        } else if (!strcmp(args, "end")) {
+        } else if (!strcmp(args, "end") ||
+                   !strcmp(args, "stop")) {
             s->sample_noise_start = 0;
             s->sample_noise_end = 1;
         }



More information about the ffmpeg-cvslog mailing list