 +      }
 +      kate_packet_clear (&kp);
 +
-+      headers = g_list_append(headers, buffer);
++      headers = g_list_append (headers, buffer);
 +    }
 +    else if (ret>0) {
 +      GST_LOG_OBJECT (ke, "Last header encoded");

+  if (!gst_element_register (plugin, "katetag",
+      GST_RANK_NONE, GST_TYPE_KATE_TAG))
+    return FALSE;
+
+  return TRUE;
+}

+
+#endif /* __GST_KATE_PARSE_H__ */
--- /dev/null	2008-04-05 19:24:09.000000000 +0100
+++ NEW/gst-plugins-bad/ext/kate/gstkatetag.c	2008-09-10 08:30:32.000000000 +0100
@@ -0,0 +1,343 @@
+/*
+ * GStreamer
+ * Copyright (C) 2006 James Livingston <doclivingston@gmail.com>
