You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avfilter/af_silenceremove: do not trim non-silence from start
This commit is contained in:
@@ -481,10 +481,12 @@ static int config_input(AVFilterLink *inlink)
|
||||
s->stop_holdoff_end = 0;
|
||||
s->stop_found_periods = 0;
|
||||
|
||||
if (s->start_periods)
|
||||
if (s->start_periods) {
|
||||
s->mode = SILENCE_TRIM;
|
||||
else
|
||||
s->one_period = 1;
|
||||
} else {
|
||||
s->mode = SILENCE_COPY;
|
||||
}
|
||||
|
||||
switch (inlink->format) {
|
||||
case AV_SAMPLE_FMT_DBL:
|
||||
|
Reference in New Issue
Block a user