avfilter: forward status back in some filters that missed it

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2018-05-05 21:24:41 +02:00
parent ac86011b1f
commit 20a3c4f606
3 changed files with 6 additions and 0 deletions

View File

@ -441,6 +441,8 @@ static int activate(AVFilterContext *ctx)
int ret = 0, nb_samples, status;
int64_t pts;
FF_FILTER_FORWARD_STATUS_BACK_ALL(outlink, ctx);
if (s->crossfade_is_over) {
ret = ff_inlink_consume_frame(ctx->inputs[1], &in);
if (ret < 0) {

View File

@ -425,6 +425,8 @@ static int activate(AVFilterContext *ctx)
AVFrame *buf = NULL;
int i, ret;
FF_FILTER_FORWARD_STATUS_BACK_ALL(outlink, ctx);
for (i = 0; i < s->nb_inputs; i++) {
AVFilterLink *inlink = ctx->inputs[i];

View File

@ -472,6 +472,8 @@ static int activate(AVFilterContext *ctx)
int nb_samples = 0;
int64_t pts;
FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
if (!s->input_frames[0]) {
ret = ff_inlink_consume_frame(ctx->inputs[0], &s->input_frames[0]);
if (ret < 0) {