mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 05:56:31 +00:00
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
This commit is contained in:
parent
37004188a8
commit
409d3fbdec
1 changed files with 2 additions and 3 deletions
|
@ -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") ||
|
||||
|
|
Loading…
Reference in a new issue