tagdemux: push event in the right direction

Push the stored events in the right direction
This commit is contained in:
Wim Taymans 2012-02-06 15:51:17 +01:00
parent 8c9639d1e3
commit 774f80d49c

View file

@ -1384,7 +1384,7 @@ gst_tag_demux_send_pending_events (GstTagDemux * demux)
while (events != NULL) {
GST_DEBUG_OBJECT (demux->priv->srcpad, "sending cached %s event: %"
GST_PTR_FORMAT, GST_EVENT_TYPE_NAME (events->data), events->data);
gst_pad_event_default (demux->priv->srcpad, GST_OBJECT (demux),
gst_pad_event_default (demux->priv->sinkpad, GST_OBJECT (demux),
GST_EVENT (events->data));
events = g_list_delete_link (events, events);
}