gst: unref the two cotnroller types in _deinit()
[platform/upstream/gstreamer.git] / plugins / indexers / gstindexers.c
index 5b08998..f317c32 100644 (file)
 #include <gst/gstversion.h>
 #include <gst/gstplugin.h>
 
-extern gboolean gst_mem_index_plugin_init (GstPlugin * plugin);
-
-#ifndef GST_DISABLE_LOADSAVE
-extern gboolean gst_file_index_plugin_init (GstPlugin * plugin);
-#endif
+#include "gstindexers.h"
 
 static gboolean
 plugin_init (GstPlugin * plugin)
@@ -33,9 +29,9 @@ plugin_init (GstPlugin * plugin)
   gboolean res = TRUE;
 
   res &= gst_mem_index_plugin_init (plugin);
-#if defined(HAVE_MMAP) && !defined(GST_DISABLE_LOADSAVE)
-  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;
 }