mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
gst/gst.c: split plugin paths correctly
Original commit message from CVS: 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org> * gst/gst.c: (init_post): split plugin paths correctly
This commit is contained in:
parent
c97e237a14
commit
593c714746
2 changed files with 7 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
|
* gst/gst.c: (init_post):
|
||||||
|
split plugin paths correctly
|
||||||
|
|
||||||
2005-10-11 Wim Taymans <wim@fluendo.com>
|
2005-10-11 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* check/gst/gstevent.c: (GST_START_TEST):
|
* check/gst/gstevent.c: (GST_START_TEST):
|
||||||
|
|
|
@ -595,8 +595,7 @@ init_post (void)
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
GST_DEBUG ("GST_PLUGIN_PATH set to %s", plugin_path);
|
GST_DEBUG ("GST_PLUGIN_PATH set to %s", plugin_path);
|
||||||
/* FIXME this doesn't split paths correctly on windows */
|
list = g_strsplit (plugin_path, G_SEARCHPATH_SEPARATOR_S, 0);
|
||||||
list = g_strsplit (plugin_path, ":", 0);
|
|
||||||
for (i = 0; list[i]; i++) {
|
for (i = 0; list[i]; i++) {
|
||||||
gst_registry_scan_path (default_registry, list[i]);
|
gst_registry_scan_path (default_registry, list[i]);
|
||||||
}
|
}
|
||||||
|
@ -628,8 +627,7 @@ init_post (void)
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
GST_DEBUG ("GST_PLUGIN_SYSTEM_PATH set to %s", plugin_path);
|
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, G_SEARCHPATH_SEPARATOR_S, 0);
|
||||||
list = g_strsplit (plugin_path, ":", 0);
|
|
||||||
for (i = 0; list[i]; i++) {
|
for (i = 0; list[i]; i++) {
|
||||||
gst_registry_scan_path (default_registry, list[i]);
|
gst_registry_scan_path (default_registry, list[i]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue