 +
 +#endif /* __GST_KATE_H__ */
 --- /dev/null	2008-04-05 19:24:09.000000000 +0100
-+++ gst-plugins-bad/ext/kate/gstkateparse.c	2008-06-29 19:16:44.000000000 +0100
-@@ -0,0 +1,594 @@
++++ gst-plugins-bad/ext/kate/gstkateparse.c	2008-07-02 19:55:51.000000000 +0100
+@@ -0,0 +1,613 @@
 +/* GStreamer
 + * Copyright (C) <2004> Thomas Vander Stichele <thomas at apestaart dot org>
 + * Copyright (C) 2006 Andy Wingo <wingo@pobox.com>

+  ke->sinkpad = gst_pad_new_from_static_template ( &sink_factory, "sink");
+  gst_pad_set_chain_function (ke->sinkpad, GST_DEBUG_FUNCPTR(gst_kate_enc_chain));
+  gst_pad_set_event_function (ke->sinkpad, GST_DEBUG_FUNCPTR (gst_kate_enc_sink_event));
+// temp
+gst_pad_set_query_type_function (ke->sinkpad, GST_DEBUG_FUNCPTR (gst_kate_enc_source_query_type));
+gst_pad_set_query_function (ke->sinkpad, GST_DEBUG_FUNCPTR (gst_kate_enc_source_query));
+  gst_element_add_pad (GST_ELEMENT (ke), ke->sinkpad);
+
+  ke->srcpad = gst_pad_new_from_static_template (&src_factory, "src");

+  gst_element_add_pad (GST_ELEMENT (parse), parse->srcpad);
+}
+
+static GstFlowReturn
+gst_kate_parse_set_header_on_caps (GstKateParse * parse, GstCaps * caps)
+{
+  GstBuffer *buf;
