mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/vf_premultiply: forward status back from output to all input links
This commit is contained in:
parent
da9890f6c7
commit
55b32584b8
|
@ -639,6 +639,8 @@ static int activate(AVFilterContext *ctx)
|
||||||
int ret, status;
|
int ret, status;
|
||||||
int64_t pts;
|
int64_t pts;
|
||||||
|
|
||||||
|
FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
|
||||||
|
|
||||||
if ((ret = ff_inlink_consume_frame(ctx->inputs[0], &frame)) > 0) {
|
if ((ret = ff_inlink_consume_frame(ctx->inputs[0], &frame)) > 0) {
|
||||||
ret = filter_frame(ctx, &out, frame, frame);
|
ret = filter_frame(ctx, &out, frame, frame);
|
||||||
av_frame_free(&frame);
|
av_frame_free(&frame);
|
||||||
|
|
Loading…
Reference in New Issue