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

This commit is contained in:
Paul B Mahol 2019-09-25 13:02:39 +02:00
parent da9890f6c7
commit 55b32584b8
1 changed files with 2 additions and 0 deletions

View File

@ -639,6 +639,8 @@ static int activate(AVFilterContext *ctx)
int ret, status;
int64_t pts;
FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
if ((ret = ff_inlink_consume_frame(ctx->inputs[0], &frame)) > 0) {
ret = filter_frame(ctx, &out, frame, frame);
av_frame_free(&frame);