mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 22:16:22 +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 = NULL;
|
||||||
_gst_libraries_seqno = 0;
|
_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 */
|
/* if this is set, we add build-directory paths to the list */
|
||||||
#ifdef PLUGINS_USE_SRCDIR
|
#ifdef PLUGINS_USE_SRCDIR
|
||||||
|
@ -82,9 +84,6 @@ _gst_plugin_initialize (void)
|
||||||
PLUGINS_SRCDIR "/gst/types");
|
PLUGINS_SRCDIR "/gst/types");
|
||||||
#endif /* PLUGINS_USE_SRCDIR */
|
#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");
|
doc = xmlParseFile (GST_CONFIG_DIR"/reg.xml");
|
||||||
|
|
||||||
if (!doc || strcmp (doc->xmlRootNode->name, "GST-PluginRegistry") ||
|
if (!doc || strcmp (doc->xmlRootNode->name, "GST-PluginRegistry") ||
|
||||||
|
|
Loading…
Reference in a new issue