Browse Source

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

Fixes #8199.
tags/n4.3
Paul B Mahol 5 years ago
parent
commit
da9890f6c7
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavfilter/vf_fieldmatch.c

+ 2
- 0
libavfilter/vf_fieldmatch.c 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);


Loading…
Cancel
Save