1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-10-01 08:54:48 +02:00

avfilter/af_afir: fix hang because video is first requested

This commit is contained in:
Paul B Mahol 2018-11-09 18:48:29 +01:00
parent 16d91b7e99
commit 29fdaaa80d

View File

@ -474,6 +474,8 @@ static int activate(AVFilterContext *ctx)
if (!s->eof_coeffs) {
if (ff_outlink_frame_wanted(ctx->outputs[0]))
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;
}
}