Commit da9890f6 authored by Paul B Mahol's avatar Paul B Mahol

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

Fixes #8199.
parent 2962101e
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment