]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gstreamer0-10.git/blobdiff - plugins/indexers/gstindexers.c
gststructure: early out when we know a value cannot be a subset
[glsdk/gstreamer0-10.git] / plugins / indexers / gstindexers.c
index 1bcb822142f749784e6e3ef3600ef4d0e04e4425..9513f674139d5df8b83ab609ad0c9e4323f79fcb 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,7 +29,7 @@ plugin_init (GstPlugin * plugin)
   gboolean res = TRUE;
 
   res &= gst_mem_index_plugin_init (plugin);
-#ifdef HAVE_MMAP
+#if defined(HAVE_MMAP) && !defined(GST_DISABLE_LOADSAVE)
   res &= gst_file_index_plugin_init (plugin);
 #endif