History

avfilter/af_acrusher: add timeline support

Paul B Mahol committed 4 years ago

Commit b15c26a1 parent 8bcb7d41 file · +2 −1Browse files

Unified · Split

libavfilter/af_acrusher.c+2−1
@@ -248,7 +248,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) · 247 unmodified lines
248 double sample = src[c] * level_in;248 double sample = src[c] * level_in;
249 249
250 sample = mix * samplereduction(s, &s->sr[c], sample) + src[c] * (1. - mix) * level_in;250 sample = mix * samplereduction(s, &s->sr[c], sample) + src[c] * (1. - mix) * level_in;
251 dst[c] = bitreduction(s, sample) * level_out;251 dst[c] = ctx->is_disabled ? src[c] : bitreduction(s, sample) * level_out;
252 }252 }
253 src += c;253 src += c;
254 dst += c;254 dst += c;
@@ -342,4 +342,5 @@ const AVFilter ff_af_acrusher = { · 87 unmodified lines
342 FILTER_OUTPUTS(avfilter_af_acrusher_outputs),342 FILTER_OUTPUTS(avfilter_af_acrusher_outputs),
343 FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_DBL),343 FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_DBL),
344 .process_command = process_command,344 .process_command = process_command,
345 .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
345};346};

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t