mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 22:16:22 +00:00
gst/gst.c: debug the GST_PLUGIN_ env vars
Original commit message from CVS: * gst/gst.c: (init_post): debug the GST_PLUGIN_ env vars
This commit is contained in:
parent
ce081d6341
commit
9e539e0202
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* gst/gst.c: (init_post):
|
||||
debug the GST_PLUGIN_ env vars
|
||||
|
||||
2005-10-08 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* check/gst/gstbin.c: (GST_START_TEST):
|
||||
|
|
|
@ -694,6 +694,7 @@ init_post (void)
|
|||
|
||||
plugin_path = g_getenv ("GST_PLUGIN_SYSTEM_PATH");
|
||||
if (plugin_path == NULL) {
|
||||
GST_DEBUG ("GST_PLUGIN_SYSTEM_PATH not set");
|
||||
#ifdef PLUGINS_USE_BUILDDIR
|
||||
/* location libgstelements.so */
|
||||
gst_registry_scan_path (default_registry,
|
||||
|
@ -715,6 +716,7 @@ init_post (void)
|
|||
char **list;
|
||||
int i;
|
||||
|
||||
GST_DEBUG ("GST_PLUGIN_SYSTEM_PATH set to %s", plugin_path);
|
||||
/* FIXME this doesn't split paths correctly on windows */
|
||||
list = g_strsplit (plugin_path, ":", 0);
|
||||
for (i = 0; list[i]; i++) {
|
||||
|
@ -728,12 +730,15 @@ init_post (void)
|
|||
char **list;
|
||||
int i;
|
||||
|
||||
GST_DEBUG ("GST_PLUGIN_PATH set to %s", plugin_path);
|
||||
/* FIXME this doesn't split paths correctly on windows */
|
||||
list = g_strsplit (plugin_path, ":", 0);
|
||||
for (i = 0; list[i]; i++) {
|
||||
gst_registry_scan_path (default_registry, list[i]);
|
||||
}
|
||||
g_strfreev (list);
|
||||
} else {
|
||||
GST_DEBUG ("GST_PLUGIN_PATH not set");
|
||||
}
|
||||
|
||||
gst_registry_xml_write_cache (default_registry, registry_file);
|
||||
|
|
Loading…
Reference in a new issue