avfilter/vf_bm3d: forward status back
authorPaul B Mahol <onemda@gmail.com>
Sat, 19 Oct 2019 16:45:35 +0000 (18:45 +0200)
committerPaul B Mahol <onemda@gmail.com>
Sat, 19 Oct 2019 16:46:14 +0000 (18:46 +0200)
libavfilter/vf_bm3d.c

index a602283..f8d656c 100644 (file)
@@ -857,6 +857,8 @@ static int activate(AVFilterContext *ctx)
         int ret, status;
         int64_t pts;
 
+        FF_FILTER_FORWARD_STATUS_BACK(ctx->outputs[0], ctx->inputs[0]);
+
         if ((ret = ff_inlink_consume_frame(ctx->inputs[0], &frame)) > 0) {
             ret = filter_frame(ctx, &out, frame, frame);
             av_frame_free(&frame);