1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

avfilter/af_afftdn: add alias for sample_noise end

Added the same one as one mentioned in documentation.
This commit is contained in:
Paul B Mahol 2018-10-28 15:00:34 +01:00
parent bb54c0ae71
commit 0c8b5cb369

View File

@ -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;
}