Original commit message from CVS:
* gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
Check whether GST_DEBUG_NO_COLOR environment variable is
set and disable coloured debug output if that is the case.
2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
+ * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
+ Check whether GST_DEBUG_NO_COLOR environment variable is
+ set and disable coloured debug output if that is the case.
+
+2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
+
* gst/base/gsttypefindhelper.c: (helper_find_peek),
(gst_type_find_helper):
The memory returned by gst_type_find_peek() needs to
context = poptGetContext ("GStreamer", *argc, (const char **) *argv,
options, 0);
+ /* check for GST_DEBUG_NO_COLOR environment variable */
+ if (g_getenv ("GST_DEBUG_NO_COLOR") != NULL)
+ gst_debug_set_colored (FALSE);
+
/* check for GST_DEBUG environment variable */
gst_debug_env = g_getenv ("GST_DEBUG");
if (gst_debug_env)
{
const gchar *debug_list;
+ if (g_getenv ("GST_DEBUG_NO_COLOR") != NULL)
+ gst_debug_set_colored (FALSE);
+
debug_list = g_getenv ("GST_DEBUG");
if (debug_list) {
parse_debug_list (debug_list);