swapped ordering of plugin dirs so srcdir plugins load first
authorErik Walthinsen <omega@temple-baptist.org>
Sun, 25 Feb 2001 03:40:43 +0000 (03:40 +0000)
committerErik Walthinsen <omega@temple-baptist.org>
Sun, 25 Feb 2001 03:40:43 +0000 (03:40 +0000)
Original commit message from CVS:
swapped ordering of plugin dirs so srcdir plugins load first

gst/gstplugin.c

index 68fdb75..a16479d 100644 (file)
@@ -66,6 +66,8 @@ _gst_plugin_initialize (void)
   _gst_libraries = NULL;
   _gst_libraries_seqno = 0;
 
+  /* add the main (installed) library path */
+  _gst_plugin_paths = g_list_prepend (_gst_plugin_paths, PLUGINS_DIR);
 
   /* if this is set, we add build-directory paths to the list */
 #ifdef PLUGINS_USE_SRCDIR
@@ -82,9 +84,6 @@ _gst_plugin_initialize (void)
                                       PLUGINS_SRCDIR "/gst/types");
 #endif /* PLUGINS_USE_SRCDIR */
 
-  /* add the main (installed) library path */
-  _gst_plugin_paths = g_list_prepend (_gst_plugin_paths, PLUGINS_DIR);
-
   doc = xmlParseFile (GST_CONFIG_DIR"/reg.xml");
 
   if (!doc || strcmp (doc->xmlRootNode->name, "GST-PluginRegistry") ||