Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2019-09-25 13:55:43 +0300
committerPaul B Mahol <onemda@gmail.com>2019-09-25 14:07:04 +0300
commitda9890f6c7d22eb8ca50aad14a26e71bc69f1855 (patch)
treec29f733c1e5009a1612fda620c18e793ebbaf0c2 /libavfilter/vf_fieldmatch.c
parent2962101e407e2d23b66b62579e844204fd93d708 (diff)
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.c2
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);