1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avfilter/af_crystalizer: add timeline support

This commit is contained in:
Paul B Mahol 2019-12-29 15:28:53 +01:00
parent 26eba8ca61
commit 22d3552f44

View File

@ -212,7 +212,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
}
s->filter((void **)out->extended_data, (void **)s->prev->extended_data, (const void **)in->extended_data,
in->nb_samples, in->channels, s->mult, s->clip);
in->nb_samples, in->channels, ctx->is_disabled ? 0.f : s->mult, s->clip);
if (out != in)
av_frame_free(&in);
@ -254,4 +254,5 @@ AVFilter ff_af_crystalizer = {
.uninit = uninit,
.inputs = inputs,
.outputs = outputs,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
};