diff --git a/gst/gstinfo.c b/gst/gstinfo.c index c9a2337f55..5d317877b7 100644 --- a/gst/gstinfo.c +++ b/gst/gstinfo.c @@ -1311,7 +1311,7 @@ gst_debug_log_default (GstDebugCategory * category, GstDebugLevel level, color = gst_debug_construct_term_color (gst_debug_category_get_color (category)); clear = "\033[00m"; - g_sprintf (pidcolor, "\033[3%1dm", pid % 6 + 31); + g_sprintf (pidcolor, "\033[%02dm", pid % 6 + 31); levelcolor = levelcolormap[level]; #define PRINT_FMT " %s"PID_FMT"%s "PTR_FMT" %s%s%s %s"CAT_FMT"%s %s\n"