Unified · Split
| @@ -248,7 +248,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) · 247 unmodified lines | ||
| 248 | 248 | double sample = src[c] * level_in; |
| 249 | 249 | |
| 250 | 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 | 253 | src += c; |
| 254 | 254 | dst += c; |
| @@ -342,4 +342,5 @@ const AVFilter ff_af_acrusher = { · 87 unmodified lines | ||
| 342 | 342 | FILTER_OUTPUTS(avfilter_af_acrusher_outputs), |
| 343 | 343 | FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_DBL), |
| 344 | 344 | .process_command = process_command, |
| 345 | + .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL, | |
| 345 | 346 | }; |