From c079acc52a55ac10c612f80c42b9211ee51a5300 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Thu, 1 Jun 2006 18:30:19 +0000 Subject: [PATCH] plugins/indexers/gstindexers.c: conditionally register fileindexer (fixes #343598) Original commit message from CVS: * plugins/indexers/gstindexers.c: (plugin_init): conditionally register fileindexer (fixes #343598) --- ChangeLog | 5 +++++ plugins/indexers/gstindexers.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 894e994..9445785 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2006-06-01 Stefan Kost + * plugins/indexers/gstindexers.c: (plugin_init): + conditionally register fileindexer (fixes #343598) + +2006-06-01 Stefan Kost + * gst/gsttagsetter.h: Can't cast ifaces to a class diff --git a/plugins/indexers/gstindexers.c b/plugins/indexers/gstindexers.c index 1bcb822..0cfc603 100644 --- a/plugins/indexers/gstindexers.c +++ b/plugins/indexers/gstindexers.c @@ -22,7 +22,10 @@ #include extern gboolean gst_mem_index_plugin_init (GstPlugin * plugin); + +#ifndef GST_DISABLE_LOADSAVE extern gboolean gst_file_index_plugin_init (GstPlugin * plugin); +#endif static gboolean plugin_init (GstPlugin * plugin) @@ -30,7 +33,7 @@ plugin_init (GstPlugin * plugin) gboolean res = TRUE; res &= gst_mem_index_plugin_init (plugin); -#ifdef HAVE_MMAP +#if HAVE_MMAP && !GST_DISABLE_LOADSAVE res &= gst_file_index_plugin_init (plugin); #endif -- 2.7.4