Commit 593c7147 authored by Thomas Vander Stichele's avatar Thomas Vander Stichele
Browse files

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
parent c97e237a
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>
* check/gst/gstevent.c: (GST_START_TEST):
......
......@@ -595,8 +595,7 @@ init_post (void)
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);
list = g_strsplit (plugin_path, G_SEARCHPATH_SEPARATOR_S, 0);
for (i = 0; list[i]; i++) {
gst_registry_scan_path (default_registry, list[i]);
}
......@@ -628,8 +627,7 @@ init_post (void)
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);
list = g_strsplit (plugin_path, G_SEARCHPATH_SEPARATOR_S, 0);
for (i = 0; list[i]; i++) {
gst_registry_scan_path (default_registry, list[i]);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment