splitmuxsrc: Ensure only a single stream-start event is pushed

Since we are simulating a single output, we want to ensure only a single
stream-start is pushed downstream. We do *not* want to send a (potentially) new
stream start event after flushing (like after seeks).

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4146

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8252>
This commit is contained in:
Edward Hervey 2025-01-07 09:31:26 +01:00 committed by GStreamer Marge Bot
parent 05158769c3
commit 6d30b82054

View file

@ -1489,7 +1489,6 @@ gst_splitmux_push_flush_stop (GstSplitMuxSrc * splitmux, guint32 seqnum)
gst_event_ref (e);
gst_pad_push_event (GST_PAD_CAST (target), e);
target->sent_caps = FALSE;
target->sent_stream_start = FALSE;
target->sent_segment = FALSE;
}
SPLITMUX_SRC_PADS_RUNLOCK (splitmux);