aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/af_afftdn.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2018-10-28 15:00:34 +0100
committerPaul B Mahol <onemda@gmail.com>2018-10-28 15:00:34 +0100
commit0c8b5cb369fcbd63ab1c54103226eb556d8c70dc (patch)
treebbd599cfb4f61e730040aa23b7abac7799c7648f /libavfilter/af_afftdn.c
parentbb54c0ae719ef768463e78af82366e73c79e1e50 (diff)
downloadffmpeg-0c8b5cb369fcbd63ab1c54103226eb556d8c70dc.tar.gz
avfilter/af_afftdn: add alias for sample_noise end
Added the same one as one mentioned in documentation.
Diffstat (limited to 'libavfilter/af_afftdn.c')
-rw-r--r--libavfilter/af_afftdn.c3
1 files changed, 2 insertions, 1 deletions
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;
}