mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-06 23:31:13 +00:00
avfilter/af_afir: fix hang because video is first requested
This commit is contained in:
parent
16d91b7e99
commit
29fdaaa80d
@ -474,6 +474,8 @@ static int activate(AVFilterContext *ctx)
|
|||||||
if (!s->eof_coeffs) {
|
if (!s->eof_coeffs) {
|
||||||
if (ff_outlink_frame_wanted(ctx->outputs[0]))
|
if (ff_outlink_frame_wanted(ctx->outputs[0]))
|
||||||
ff_inlink_request_frame(ctx->inputs[1]);
|
ff_inlink_request_frame(ctx->inputs[1]);
|
||||||
|
else if (s->response && ff_outlink_frame_wanted(ctx->outputs[1]))
|
||||||
|
ff_inlink_request_frame(ctx->inputs[1]);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user