Commit 0c8b5cb3 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/af_afftdn: add alias for sample_noise end

Added the same one as one mentioned in documentation.
parent bb54c0ae
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment