From 593c714746f5a4b00a199863e7b6842bfb225429 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Tue, 11 Oct 2005 16:54:41 +0000 Subject: [PATCH] gst/gst.c: split plugin paths correctly Original commit message from CVS: 2005-10-11 Thomas Vander Stichele * gst/gst.c: (init_post): split plugin paths correctly --- ChangeLog | 5 +++++ gst/gst.c | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) 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]); }