tagdemux: use default event handler for delayed events
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 26 Jan 2012 18:47:38 +0000 (19:47 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 26 Jan 2012 18:48:59 +0000 (19:48 +0100)
gst-libs/gst/tag/gsttagdemux.c

index e37edb0..2ab3432 100644 (file)
@@ -1384,7 +1384,8 @@ 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_push_event (demux->priv->srcpad, GST_EVENT (events->data));
+    gst_pad_event_default (demux->priv->srcpad, GST_OBJECT (demux),
+        GST_EVENT (events->data));
     events = g_list_delete_link (events, events);
   }
 }