gst: unref the two cotnroller types in _deinit()
[platform/upstream/gstreamer.git] / plugins / indexers / gstindexers.c
index 01384e0..f317c32 100644 (file)
@@ -21,8 +21,7 @@
 #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)
@@ -30,15 +29,15 @@ plugin_init (GstPlugin * plugin)
   gboolean res = TRUE;
 
   res &= gst_mem_index_plugin_init (plugin);
-#ifdef HAVE_MMAP
-  res &= gst_file_index_plugin_init (plugin);
-#endif
+
+  /* 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,
-    "gstindexers",
+    "coreindexers",
     "GStreamer core indexers",
-    plugin_init, VERSION, GST_LICENSE, GST_PACKAGE, GST_ORIGIN)
+    plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);