From: Thomas Vander Stichele Date: Sat, 8 Oct 2005 09:09:55 +0000 (+0000) Subject: gst/gst.c: debug the GST_PLUGIN_ env vars X-Git-Tag: RELEASE-0_9_4~202 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e539e0202fa8b9ecb7a646d212c6f9b2ff1cf32;p=platform%2Fupstream%2Fgstreamer.git 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 --- diff --git a/ChangeLog b/ChangeLog index 366f023..1298575 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-10-08 Thomas Vander Stichele + + * gst/gst.c: (init_post): + debug the GST_PLUGIN_ env vars + 2005-10-08 Wim Taymans * check/gst/gstbin.c: (GST_START_TEST): diff --git a/gst/gst.c b/gst/gst.c index 606cfb8..f43ead9 100644 --- a/gst/gst.c +++ b/gst/gst.c @@ -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);