mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 17:32:06 +00:00
avfilter/af_afftdn: add alias for sample_noise end
Added the same one as one mentioned in documentation.
This commit is contained in:
parent
bb54c0ae71
commit
0c8b5cb369
@ -1381,7 +1381,8 @@ static int process_command(AVFilterContext *ctx, const char *cmd, const char *ar
|
|||||||
if (!strcmp(args, "start")) {
|
if (!strcmp(args, "start")) {
|
||||||
s->sample_noise_start = 1;
|
s->sample_noise_start = 1;
|
||||||
s->sample_noise_end = 0;
|
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_start = 0;
|
||||||
s->sample_noise_end = 1;
|
s->sample_noise_end = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user