mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
inputselector: Forward all sticky events, including stream-start
This commit is contained in:
parent
8bedcf450f
commit
1d40478014
1 changed files with 1 additions and 1 deletions
|
@ -745,7 +745,7 @@ forward_sticky_events (GstPad * sinkpad, GstEvent ** event, gpointer user_data)
|
||||||
gst_event_set_seqnum (e, GST_SELECTOR_PAD_CAST (sinkpad)->segment_seqnum);
|
gst_event_set_seqnum (e, GST_SELECTOR_PAD_CAST (sinkpad)->segment_seqnum);
|
||||||
|
|
||||||
gst_pad_push_event (sel->srcpad, e);
|
gst_pad_push_event (sel->srcpad, e);
|
||||||
} else if (GST_EVENT_TYPE (*event) != GST_EVENT_STREAM_START) {
|
} else {
|
||||||
gst_pad_push_event (sel->srcpad, gst_event_ref (*event));
|
gst_pad_push_event (sel->srcpad, gst_event_ref (*event));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue