Commit 4f63e049 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/af_asdr: add timeline support

parent a47bd6d3
......@@ -79,7 +79,8 @@ static int activate(AVFilterContext *ctx)
}
}
sdr(ctx, s->cache[0], s->cache[1]);
if (!ctx->is_disabled)
sdr(ctx, s->cache[0], s->cache[1]);
av_frame_free(&s->cache[1]);
out = s->cache[0];
......@@ -168,7 +169,8 @@ const AVFilter ff_af_asdr = {
.priv_size = sizeof(AudioSDRContext),
.activate = activate,
.uninit = uninit,
.flags = AVFILTER_FLAG_METADATA_ONLY,
.flags = AVFILTER_FLAG_METADATA_ONLY |
AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(outputs),
FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_DBLP),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment