Only one STREAM_START event should be let through, else it will
confuse downstream elements that think a new stream is starting
whereas in fact we are just switching to a different input.
In the future we might want to let them through but with the same
sequence number.
gst_event_set_seqnum (e, GST_SELECTOR_PAD_CAST (sinkpad)->segment_seqnum);
gst_pad_push_event (sel->srcpad, e);
- } else {
+ } else if (GST_EVENT_TYPE (*event) != GST_EVENT_STREAM_START) {
gst_pad_push_event (sel->srcpad, gst_event_ref (*event));
}