 +}
 +
 --- /dev/null	2008-04-05 19:24:09.000000000 +0100
-+++ gst-plugins-bad/ext/kate/gstkatedec.h	2008-06-25 21:09:15.000000000 +0100
-@@ -0,0 +1,96 @@
++++ gst-plugins-bad/ext/kate/gstkatedec.h	2008-07-26 19:43:01.000000000 +0100
+@@ -0,0 +1,98 @@
 +/*
 + * GStreamer
 + * Copyright 2005 Thomas Vander Stichele <thomas@apestaart.org>

+      kd->language = g_strdup (kd->k.ki->language);
+      if (kd->category) g_free (kd->category);
+      kd->category = g_strdup (kd->k.ki->category);
+
+      break;
+

+      strncpy((char*)GST_BUFFER_DATA (buffer)+48, kt->category, 15);
+      GST_BUFFER_DATA (buffer)[63] = 0;
+    }
+    if (kt->original_canvas_width >= 0) {
+      guint16 v = encode_canvas_size(kt->original_canvas_width);
+      GST_BUFFER_DATA (buffer)[16] = v&0xff;
+      GST_BUFFER_DATA (buffer)[17] = (v>>8)&0xff;
+    }
+    if (kt->original_canvas_height >= 0) {
+      guint16 v = encode_canvas_size(kt->original_canvas_height);
+      GST_BUFFER_DATA (buffer)[18] = v&0xff;
+      GST_BUFFER_DATA (buffer)[19] = (v>>8)&0xff;
+    }
+  }
+
+  /*  rewrite the comments packet */
