mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 08:42:39 +00:00
avfilter: forward status back in some filters that missed it
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
ac86011b1f
commit
20a3c4f606
@ -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) {
|
||||
|
@ -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];
|
||||
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user