make critical more useful
authorThomas Vander Stichele <thomas@apestaart.org>
Sat, 10 Jan 2004 13:52:44 +0000 (13:52 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Sat, 10 Jan 2004 13:52:44 +0000 (13:52 +0000)
Original commit message from CVS:
make critical more useful

ChangeLog
gst/registries/gstxmlregistry.c

index e4b73d4..7c86a55 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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),
index 49099f4..f368410 100644 (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;