diff --git a/ChangeLog b/ChangeLog index 86bddf1604..2550747dcd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-10-11 Thomas Vander Stichele + + * gst/gst.c: (init_post): + split plugin paths correctly + 2005-10-11 Wim Taymans * check/gst/gstevent.c: (GST_START_TEST): diff --git a/gst/gst.c b/gst/gst.c index f6f79c1c43..37fbf89411 100644 --- a/gst/gst.c +++ b/gst/gst.c @@ -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]); }