]> git.sesse.net Git - ffmpeg/commitdiff
avfilter: forward status back in some filters that missed it
authorPaul B Mahol <onemda@gmail.com>
Sat, 5 May 2018 19:24:41 +0000 (21:24 +0200)
committerPaul B Mahol <onemda@gmail.com>
Sat, 5 May 2018 19:32:33 +0000 (21:32 +0200)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/af_afade.c
libavfilter/af_amix.c
libavfilter/af_join.c

index 285b5b6557ec09df91cc3feeee04fdec883f7706..d823e82d39438615fa6e1f789560327103267cc0 100644 (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) {
index 46f1bf63d790dbf6154a94df27bf7ef8c14ce902..ec2556f920742d4655e9d3d72b73928ac383f929 100644 (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];
 
index 4f86e1355841706f85d608f7f64b8fd13f725966..930c9e48e736a1bae9a83363f8f1c5084c6cbeb9 100644 (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) {