 +static gboolean gst_kate_enc_sink_event(GstPad * pad, GstEvent * event)
 +{
 +  GstKateEnc *ke = GST_KATE_ENC (gst_pad_get_parent (pad));
++  gboolean ret;
 +
 +  switch (GST_EVENT_TYPE (event)) {
 +    case GST_EVENT_EOS:

+}
+#endif
+
+static gboolean gst_kate_enc_sink_query(GstPad * pad, GstQuery * query)
+{
+  switch (GST_QUERY_TYPE(query)) {
+    case GST_QUERY_CONVERT:

+static GstStateChangeReturn gst_kate_enc_change_state (GstElement * element,
+    GstStateChange transition);
+static gboolean gst_kate_enc_sink_event(GstPad * pad, GstEvent * event);
+static gboolean gst_kate_enc_source_query(GstPad * pad, GstQuery * query);
+
+static void
+gst_kate_enc_base_init (gpointer gclass)
