 +          break;
 +        }
 +      }
++      ret = kate_info_set_original_canvas_size (&ke->ki, ke->original_canvas_width, ke->original_canvas_height);
++      if (ret < 0) {
++        GST_WARNING_OBJECT (ke, "failed to set original canvas size: %d", ret);
++        break;
++      }
 +      ret = kate_comment_init (&ke->kc);
 +      if (ret < 0) {
 +        GST_WARNING_OBJECT (ke, "failed to initialize kate comment structure: %d", ret);

+# headers we need but don't want installed
+noinst_HEADERS = gstkate.h gstkatedec.h gstkateenc.h gstkateparse.h gstkatetag.h gstkateutil.h
--- /dev/null	2008-04-05 19:24:09.000000000 +0100
+++ gst-plugins-bad/tests/check/elements/kate.c	2008-07-06 21:09:14.000000000 +0100
@@ -0,0 +1,803 @@
+/* GStreamer

+  ARG_GRANULE_RATE_DEN,
+  ARG_GRANULE_SHIFT,
+  ARG_KEEPALIVE_MIN_TIME,
+  ARG_ORIGINAL_CANVAS_WIDTH,
+  ARG_ORIGINAL_CANVAS_HEIGHT,
+};
+
+/* taken off the dvdsubdec element */
