make critical more useful

Original commit message from CVS:
make critical more useful
This commit is contained in:
Thomas Vander Stichele 2004-01-10 13:52:44 +00:00
parent 29e4f4c6ba
commit 68df6ee79d
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-01-10 Thomas Vander Stichele <thomas at apestaart dot org>
(gst_xml_registry_parse_padtemplate):
make critical message slightly more useful
2004-01-10 Benjamin Otte <in7y118@public.uni-hamburg.de>
* gst/gstinfo.c: (gst_debug_log), (gst_debug_log_valist),

View file

@ -839,7 +839,7 @@ gst_xml_registry_parse_padtemplate (GMarkupParseContext *context, const gchar *t
s = g_strndup (text, text_len);
registry->caps = gst_caps_from_string (s);
if (registry->caps == NULL) {
g_critical ("Could not parse caps: %d %*s\n", text_len, text_len, text);
g_critical ("Could not parse caps: length %d, content: %*s\n", text_len, text_len, text);
}
g_free(s);
return TRUE;