structure: log what structure string we failed to parse
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 14 Apr 2010 11:43:41 +0000 (12:43 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 14 Apr 2010 22:53:26 +0000 (23:53 +0100)
gst/gststructure.c

index 2c4e0e9..6c8f605 100644 (file)
@@ -2083,7 +2083,7 @@ gst_structure_from_string (const gchar * string, gchar ** end)
 
   name = r;
   if (G_UNLIKELY (!gst_structure_parse_string (r, &w, &r, TRUE))) {
-    GST_WARNING ("Failed to parse structure string");
+    GST_WARNING ("Failed to parse structure string '%s'", string);
     goto error;
   }