diff options
author | Paul B Mahol <onemda@gmail.com> | 2019-09-25 12:55:43 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2019-09-25 13:07:04 +0200 |
commit | da9890f6c7d22eb8ca50aad14a26e71bc69f1855 (patch) | |
tree | c29f733c1e5009a1612fda620c18e793ebbaf0c2 /libavfilter/vf_fieldmatch.c | |
parent | 2962101e407e2d23b66b62579e844204fd93d708 (diff) | |
download | ffmpeg-da9890f6c7d22eb8ca50aad14a26e71bc69f1855.tar.gz |
avfilter/vf_fieldmatch: forward status back from output to all input links
Fixes #8199.
Diffstat (limited to 'libavfilter/vf_fieldmatch.c')
-rw-r--r-- | libavfilter/vf_fieldmatch.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |