diff mbox series

[FFmpeg-devel] avfilter/af_join: put all inputs to EOF on EOF

Message ID CAPYw7P6VQt8z2kO1POTfzggqk2tn4Mzm2EwWVL-66OMk0a6zAw@mail.gmail.com
State New
Headers show
Series [FFmpeg-devel] avfilter/af_join: put all inputs to EOF on EOF | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Paul B Mahol June 14, 2023, 5:57 p.m. UTC
Attached.
diff mbox series

Patch

From a6a50f8d7529e680d6a48719412e0608e3803962 Mon Sep 17 00:00:00 2001
From: Paul B Mahol <onemda@gmail.com>
Date: Tue, 30 May 2023 02:35:48 +0200
Subject: [PATCH] avfilter/af_join: put all inputs to EOF on EOF

Signed-off-by: Paul B Mahol <onemda@gmail.com>
---
 libavfilter/af_join.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavfilter/af_join.c b/libavfilter/af_join.c
index 5dbf9d8d22..ef47c7f2cb 100644
--- a/libavfilter/af_join.c
+++ b/libavfilter/af_join.c
@@ -564,6 +564,8 @@  eof:
             break;
         }
     }
+    for (i = 0; i < ctx->nb_inputs; i++)
+        ff_inlink_set_status(ctx->inputs[i], AVERROR_EOF);
 
     return 0;
 }
-- 
2.39.1