gst: unref the two cotnroller types in _deinit()
[platform/upstream/gstreamer.git] / plugins / indexers / gstindexers.c
index 5d4c4af..f317c32 100644 (file)
 #include <gst/gstversion.h>
 #include <gst/gstplugin.h>
 
-extern gboolean gst_mem_index_plugin_init      (GstPlugin *plugin);
-extern gboolean gst_file_index_plugin_init     (GstPlugin *plugin);
+#include "gstindexers.h"
 
 static gboolean
-plugin_init (GstPlugin *plugin)
+plugin_init (GstPlugin * plugin)
 {
   gboolean res = TRUE;
 
   res &= gst_mem_index_plugin_init (plugin);
-  res &= gst_file_index_plugin_init (plugin);
-  
-  return res;
-}
 
-GST_PLUGIN_DEFINE (
-  GST_VERSION_MAJOR,
-  GST_VERSION_MINOR,
-  "gstindexers",
-  "GStreamer core indexers",
-  plugin_init,
-  VERSION,
-  GST_LICENSE,
-  GST_PACKAGE,
-  GST_ORIGIN
-)
+  /* FIXME 0.11: fix or remove GstFileIndex, which used mmap and libxml */
+  /* res &= gst_file_index_plugin_init (plugin); */
 
+  return res;
+}
 
+GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
+    GST_VERSION_MINOR,
+    "coreindexers",
+    "GStreamer core indexers",
+    plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);