diff options
Diffstat (limited to 'gst/gststructure.c')
-rw-r--r-- | gst/gststructure.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/gststructure.c b/gst/gststructure.c index c72358508..18c816e5c 100644 --- a/gst/gststructure.c +++ b/gst/gststructure.c @@ -1966,6 +1966,9 @@ gst_structure_from_string (const gchar * string, gchar ** end) if (end) *end = (char *) string + (r - copy); + else if (*r) + g_warning ("gst_structure_from_string did not consume whole string," + " but caller did not provide end pointer (\"%s\")", string); g_free (copy); return structure; |