2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
+ * gst/matroska/matroska-demux.c:
+ (gst_matroska_demux_handle_src_event):
+ Forward unknown events upstream.
+
+2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
+
* tests/check/elements/icydemux.c: (icydemux_found_pad):
Add some refcount check
switch (GST_EVENT_TYPE (event)) {
case GST_EVENT_SEEK:
res = gst_matroska_demux_handle_seek_event (demux, pad, event);
+ gst_event_unref (event);
break;
/* events we don't need to handle */
case GST_EVENT_NAVIGATION:
case GST_EVENT_QOS:
+ gst_event_unref (event);
res = FALSE;
break;
+ case GST_EVENT_LATENCY:
default:
- GST_WARNING ("Unhandled %s event, dropped", GST_EVENT_TYPE_NAME (event));
- res = FALSE;
+ res = gst_pad_push_event (demux->sinkpad, event);
break;
}
gst_object_unref (demux);
- gst_event_unref (event);
return res;
}