structure: log what structure string we failed to parse

This commit is contained in:
Tim-Philipp Müller 2010-04-14 12:43:41 +01:00
parent 67ab660b19
commit 24ce15bca7

View file

@ -2083,7 +2083,7 @@ gst_structure_from_string (const gchar * string, gchar ** end)
name = r; name = r;
if (G_UNLIKELY (!gst_structure_parse_string (r, &w, &r, TRUE))) { 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; goto error;
} }