Commit 29fdaaa8 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/af_afir: fix hang because video is first requested

parent 16d91b7e
......@@ -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;
}
}
......
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