[FFmpeg-cvslog] avfilter/af_afir: fix hang because video is first requested
Paul B Mahol
git at videolan.org
Fri Nov 9 19:53:13 EET 2018
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Nov 9 18:48:29 2018 +0100| [29fdaaa80d7d4bb86412d51713c7bf8a0f5f5910] | committer: Paul B Mahol
avfilter/af_afir: fix hang because video is first requested
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=29fdaaa80d7d4bb86412d51713c7bf8a0f5f5910
---
libavfilter/af_afir.c | 2 ++
1 file changed, 2 insertions(+)
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;
}
}
More information about the ffmpeg-cvslog
mailing list