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

Fixes #8199.
This commit is contained in:
Paul B Mahol 2019-09-25 12:55:43 +02:00
parent 2962101e40
commit da9890f6c7

View File

@ -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);