]> git.sesse.net Git - ffmpeg/commitdiff
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 a9404b4eb3b56d1806cbc06903d7022b2ec8981b..5338af742c5a7432257911eed4ebe2781c8e925c 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);