gst: unref the two cotnroller types in _deinit()
[platform/upstream/gstreamer.git] / plugins / indexers / gstindexers.c
index 1bcb822..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,9 +29,9 @@ 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;
 }