info: widen log level strings to take into account the new MEMDUMP

This commit is contained in:
Tim-Philipp Müller 2009-06-01 20:26:53 +01:00
parent 484d188440
commit 51f50a5c67

View file

@ -887,19 +887,19 @@ gst_debug_level_get_name (GstDebugLevel level)
case GST_LEVEL_NONE: case GST_LEVEL_NONE:
return ""; return "";
case GST_LEVEL_ERROR: case GST_LEVEL_ERROR:
return "ERROR"; return "ERROR ";
case GST_LEVEL_WARNING: case GST_LEVEL_WARNING:
return "WARN "; return "WARN ";
case GST_LEVEL_INFO: case GST_LEVEL_INFO:
return "INFO "; return "INFO ";
case GST_LEVEL_DEBUG: case GST_LEVEL_DEBUG:
return "DEBUG"; return "DEBUG ";
case GST_LEVEL_LOG: case GST_LEVEL_LOG:
return "LOG "; return "LOG ";
case GST_LEVEL_FIXME: case GST_LEVEL_FIXME:
return "FIXME"; return "FIXME ";
case GST_LEVEL_MEMDUMP: case GST_LEVEL_MEMDUMP:
return "MEMDUMP "; return "MEMDUMP";
default: default:
g_warning ("invalid level specified for gst_debug_level_get_name"); g_warning ("invalid level specified for gst_debug_level_get_name");
return ""; return "";