mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-31 20:02:07 +00:00
avfilter/af_asdr: add timeline support
This commit is contained in:
parent
a47bd6d3d8
commit
4f63e049a2
@ -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]);
|
av_frame_free(&s->cache[1]);
|
||||||
out = s->cache[0];
|
out = s->cache[0];
|
||||||
@ -168,7 +169,8 @@ const AVFilter ff_af_asdr = {
|
|||||||
.priv_size = sizeof(AudioSDRContext),
|
.priv_size = sizeof(AudioSDRContext),
|
||||||
.activate = activate,
|
.activate = activate,
|
||||||
.uninit = uninit,
|
.uninit = uninit,
|
||||||
.flags = AVFILTER_FLAG_METADATA_ONLY,
|
.flags = AVFILTER_FLAG_METADATA_ONLY |
|
||||||
|
AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
|
||||||
FILTER_INPUTS(inputs),
|
FILTER_INPUTS(inputs),
|
||||||
FILTER_OUTPUTS(outputs),
|
FILTER_OUTPUTS(outputs),
|
||||||
FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_DBLP),
|
FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_DBLP),
|
||||||
|
Loading…
Reference in New Issue
Block a user