avfilter/vf_premultiply: forward status back from output to all input links
authorPaul B Mahol <onemda@gmail.com>
Wed, 25 Sep 2019 11:02:39 +0000 (13:02 +0200)
committerPaul B Mahol <onemda@gmail.com>
Wed, 25 Sep 2019 11:07:04 +0000 (13:07 +0200)
libavfilter/vf_premultiply.c

index a9404b4..5338af7 100644 (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);