[0.11] gst-plugins-base: tagdemux: use default event handler for delayed events

Wim Taymans wtay at kemper.freedesktop.org
Thu Jan 26 10:49:06 PST 2012


Module: gst-plugins-base
Branch: 0.11
Commit: e2c50fbf0c7aa7efe03bf419f1601f46b1bb3e27
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=e2c50fbf0c7aa7efe03bf419f1601f46b1bb3e27

Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Thu Jan 26 19:47:38 2012 +0100

tagdemux: use default event handler for delayed events

---

 gst-libs/gst/tag/gsttagdemux.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/gst-libs/gst/tag/gsttagdemux.c b/gst-libs/gst/tag/gsttagdemux.c
index e37edb0..2ab3432 100644
--- a/gst-libs/gst/tag/gsttagdemux.c
+++ b/gst-libs/gst/tag/gsttagdemux.c
@@ -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);
   }
 }



More information about the gstreamer-commits mailing list