projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb54c0a
)
avfilter/af_afftdn: add alias for sample_noise end
author
Paul B Mahol
<onemda@gmail.com>
Sun, 28 Oct 2018 14:00:34 +0000
(15:00 +0100)
committer
Paul B Mahol
<onemda@gmail.com>
Sun, 28 Oct 2018 14:00:34 +0000
(15:00 +0100)
Added the same one as one mentioned in documentation.
libavfilter/af_afftdn.c
patch
|
blob
|
history
diff --git
a/libavfilter/af_afftdn.c
b/libavfilter/af_afftdn.c
index
77e5406
..
428375b
100644
(file)
--- 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;
}