mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-05 03:26:17 +00:00
avfilter/af_apad: Support AVFILTER_FLAG_SUPPORT_TIMELINE
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
df9f9caba5
commit
1e1015f330
@ -89,7 +89,7 @@ static int request_frame(AVFilterLink *outlink)
|
||||
|
||||
ret = ff_request_frame(ctx->inputs[0]);
|
||||
|
||||
if (ret == AVERROR_EOF) {
|
||||
if (ret == AVERROR_EOF && !ctx->is_disabled) {
|
||||
int n_out = apad->packet_size;
|
||||
AVFrame *outsamplesref;
|
||||
|
||||
@ -131,6 +131,7 @@ static const AVFilterPad apad_inputs[] = {
|
||||
.name = "default",
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
.filter_frame = filter_frame,
|
||||
.passthrough_filter_frame = filter_frame,
|
||||
},
|
||||
{ NULL },
|
||||
};
|
||||
@ -152,4 +153,5 @@ AVFilter avfilter_af_apad = {
|
||||
.inputs = apad_inputs,
|
||||
.outputs = apad_outputs,
|
||||
.priv_class = &apad_class,
|
||||
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE,
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user