From 409d3fbdec20bb320fc0ba012e12f7f84dc2b131 Mon Sep 17 00:00:00 2001 From: Erik Walthinsen Date: Sun, 25 Feb 2001 03:40:43 +0000 Subject: [PATCH] swapped ordering of plugin dirs so srcdir plugins load first Original commit message from CVS: swapped ordering of plugin dirs so srcdir plugins load first --- gst/gstplugin.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gst/gstplugin.c b/gst/gstplugin.c index 68fdb75..a16479d 100644 --- a/gst/gstplugin.c +++ b/gst/gstplugin.c @@ -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") || -- 2.7.4