mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 05:01:23 +00:00
oggdemux: Don't drop sticky events
Previous commit was wrong. We should still send all events to the pad (so that sticky events get attached to it and sent when pad gets added).
This commit is contained in:
parent
e8a60b3de9
commit
6fd8d78d8b
1 changed files with 2 additions and 3 deletions
|
@ -4652,12 +4652,11 @@ gst_ogg_demux_send_event (GstOggDemux * ogg, GstEvent * event)
|
|||
|
||||
gst_event_ref (event);
|
||||
GST_DEBUG_OBJECT (pad, "Pushing event %" GST_PTR_FORMAT, event);
|
||||
if (pad->added) {
|
||||
res &= gst_pad_push_event (GST_PAD (pad), event);
|
||||
if (pad->added)
|
||||
event_sent = TRUE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
gst_event_unref (event);
|
||||
|
||||
|
|
Loading…
Reference in a new issue