diff --git a/ChangeLog b/ChangeLog index 693bc24be2..d3e45b4126 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-10-16 Tim-Philipp Müller + + * gst/gststructure.c: + Allow '+' as well, it can be part of media or mime types + such as image/svg+xml. + 2007-10-16 Tim-Philipp Müller * docs/gst/gstreamer-sections.txt: diff --git a/gst/gststructure.c b/gst/gststructure.c index a17fa61f3d..9dd1bb0093 100644 --- a/gst/gststructure.c +++ b/gst/gststructure.c @@ -153,7 +153,7 @@ gst_structure_validate_name (const gchar * name) /* FIXME: test name string more */ s = &name[1]; - while (*s && (g_ascii_isalnum (*s) || strchr ("/-_.:", *s) != NULL)) + while (*s && (g_ascii_isalnum (*s) || strchr ("/-_.:+", *s) != NULL)) s++; if (*s != '\0') { GST_WARNING ("Invalid character '%c' at offset %lu in structure name: %s",