always include the installed plugin directories in the path

Original commit message from CVS:
always include the installed plugin directories in the path
This commit is contained in:
Erik Walthinsen 2001-02-23 01:57:43 +00:00
parent 92b4f3b33a
commit bc7eb8e691

View file

@ -80,10 +80,10 @@ _gst_plugin_initialize (void)
PLUGINS_SRCDIR "/gst/elements"); PLUGINS_SRCDIR "/gst/elements");
_gst_plugin_paths = g_list_prepend (_gst_plugin_paths, _gst_plugin_paths = g_list_prepend (_gst_plugin_paths,
PLUGINS_SRCDIR "/gst/types"); PLUGINS_SRCDIR "/gst/types");
#else /* PLUGINS_USE_SRCDIR */ #endif /* PLUGINS_USE_SRCDIR */
/* add the main (installed) library path */ /* add the main (installed) library path */
_gst_plugin_paths = g_list_prepend (_gst_plugin_paths, PLUGINS_DIR); _gst_plugin_paths = g_list_prepend (_gst_plugin_paths, PLUGINS_DIR);
#endif /* PLUGINS_USE_SRCDIR */
doc = xmlParseFile (GST_CONFIG_DIR"/reg.xml"); doc = xmlParseFile (GST_CONFIG_DIR"/reg.xml");