streamsplitter: Forward STREAM_START to all branchs

Otherwise the branch that get selected later won't receive it ever.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/751>
This commit is contained in:
Thibault Saunier 2020-07-04 12:32:26 -04:00 committed by GStreamer Merge Bot
parent 871fa29639
commit d10929da7c

View file

@ -183,6 +183,9 @@ gst_stream_splitter_sink_event (GstPad * pad, GstObject * parent,
GST_EVENT_TYPE_NAME (event));
switch (GST_EVENT_TYPE (event)) {
case GST_EVENT_STREAM_START:
toall = TRUE;
break;
case GST_EVENT_CAPS:
{
GstCaps *caps;