Commit 20a3c4f6 authored by Paul B Mahol's avatar Paul B Mahol

avfilter: forward status back in some filters that missed it

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent ac86011b
...@@ -441,6 +441,8 @@ static int activate(AVFilterContext *ctx) ...@@ -441,6 +441,8 @@ static int activate(AVFilterContext *ctx)
int ret = 0, nb_samples, status; int ret = 0, nb_samples, status;
int64_t pts; int64_t pts;
FF_FILTER_FORWARD_STATUS_BACK_ALL(outlink, ctx);
if (s->crossfade_is_over) { if (s->crossfade_is_over) {
ret = ff_inlink_consume_frame(ctx->inputs[1], &in); ret = ff_inlink_consume_frame(ctx->inputs[1], &in);
if (ret < 0) { if (ret < 0) {
......
...@@ -425,6 +425,8 @@ static int activate(AVFilterContext *ctx) ...@@ -425,6 +425,8 @@ static int activate(AVFilterContext *ctx)
AVFrame *buf = NULL; AVFrame *buf = NULL;
int i, ret; int i, ret;
FF_FILTER_FORWARD_STATUS_BACK_ALL(outlink, ctx);
for (i = 0; i < s->nb_inputs; i++) { for (i = 0; i < s->nb_inputs; i++) {
AVFilterLink *inlink = ctx->inputs[i]; AVFilterLink *inlink = ctx->inputs[i];
......
...@@ -472,6 +472,8 @@ static int activate(AVFilterContext *ctx) ...@@ -472,6 +472,8 @@ static int activate(AVFilterContext *ctx)
int nb_samples = 0; int nb_samples = 0;
int64_t pts; int64_t pts;
FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
if (!s->input_frames[0]) { if (!s->input_frames[0]) {
ret = ff_inlink_consume_frame(ctx->inputs[0], &s->input_frames[0]); ret = ff_inlink_consume_frame(ctx->inputs[0], &s->input_frames[0]);
if (ret < 0) { if (ret < 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment