aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2018-11-09 18:48:29 +0100
committerPaul B Mahol <onemda@gmail.com>2018-11-09 18:51:21 +0100
commit29fdaaa80d7d4bb86412d51713c7bf8a0f5f5910 (patch)
tree8502ce1fc632f2311f84d6af634828df6476c89c /libavfilter
parent16d91b7e99cd65ddb098de7b38f2f51277c97083 (diff)
downloadffmpeg-29fdaaa80d7d4bb86412d51713c7bf8a0f5f5910.tar.gz
avfilter/af_afir: fix hang because video is first requested
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/af_afir.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/af_afir.c b/libavfilter/af_afir.c
index efdd6bb883..36fde60594 100644
--- a/libavfilter/af_afir.c
+++ b/libavfilter/af_afir.c
@@ -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;
}
}