From cb1345ab7793188cb0a2cb7e7dc08a5ed886e3ae Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Thu, 27 Oct 2022 11:18:24 +0200 Subject: [PATCH] concat: Properly propagate EOS seqnum Part-of: --- subprojects/gstreamer/plugins/elements/gstconcat.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/subprojects/gstreamer/plugins/elements/gstconcat.c b/subprojects/gstreamer/plugins/elements/gstconcat.c index 22aaa20b96..afa6b5316c 100644 --- a/subprojects/gstreamer/plugins/elements/gstconcat.c +++ b/subprojects/gstreamer/plugins/elements/gstconcat.c @@ -616,6 +616,7 @@ gst_concat_sink_event (GstPad * pad, GstObject * parent, GstEvent * event) break; } case GST_EVENT_EOS:{ + guint32 seqnum = gst_event_get_seqnum (event); gst_event_replace (&event, NULL); if (!gst_concat_pad_wait (spad, self)) { @@ -632,6 +633,7 @@ gst_concat_sink_event (GstPad * pad, GstObject * parent, GstEvent * event) if (!next) { event = gst_event_new_eos (); + gst_event_set_seqnum (event, seqnum); } else { gst_element_post_message (GST_ELEMENT_CAST (self), gst_message_new_duration_changed (GST_OBJECT_CAST (self)));