 +libgstkate_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
 +
 +# headers we need but don't want installed
-+noinst_HEADERS = gstkate.h
++noinst_HEADERS = gstkatedec.h

+    case GST_FORMAT_DEFAULT:
+      switch (*dest_fmt) {
+        case GST_FORMAT_TIME:
+          *dest_val = gst_kate_granule_time(&kd->k, src_val);
+          res = TRUE;
+          break;
+        default:

+}
+
+static GstClockTime
+gst_kate_dec_granule_time(kate_state *k, gint64 granulepos)
+{
+  float t;
+
