[FFmpeg-cvslog] avfilter/vf_fieldmatch: forward status back from output to all input links

Paul B Mahol git at videolan.org
Wed Sep 25 14:07:50 EEST 2019


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Sep 25 12:55:43 2019 +0200| [da9890f6c7d22eb8ca50aad14a26e71bc69f1855] | committer: Paul B Mahol

avfilter/vf_fieldmatch: forward status back from output to all input links

Fixes #8199.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=da9890f6c7d22eb8ca50aad14a26e71bc69f1855
---

 libavfilter/vf_fieldmatch.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavfilter/vf_fieldmatch.c b/libavfilter/vf_fieldmatch.c
index af118c4f8e..d115229e53 100644
--- a/libavfilter/vf_fieldmatch.c
+++ b/libavfilter/vf_fieldmatch.c
@@ -839,6 +839,8 @@ static int activate(AVFilterContext *ctx)
     int ret = 0, status;
     int64_t pts;
 
+    FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
+
     if ((fm->got_frame[INPUT_MAIN] == 0) &&
         (ret = ff_inlink_consume_frame(ctx->inputs[INPUT_MAIN], &frame)) > 0) {
         ret = filter_frame(ctx->inputs[INPUT_MAIN], frame);



More information about the ffmpeg-cvslog mailing list