mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
gst/gststructure.c: Allow '+' as well, it can be part of media or mime types such as image/svg+xml.
Original commit message from CVS: * gst/gststructure.c: Allow '+' as well, it can be part of media or mime types such as image/svg+xml.
This commit is contained in:
parent
13c6e89d6c
commit
4945ceea39
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* 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 <tim at centricular dot net>
|
2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* docs/gst/gstreamer-sections.txt:
|
* docs/gst/gstreamer-sections.txt:
|
||||||
|
|
|
@ -153,7 +153,7 @@ gst_structure_validate_name (const gchar * name)
|
||||||
|
|
||||||
/* FIXME: test name string more */
|
/* FIXME: test name string more */
|
||||||
s = &name[1];
|
s = &name[1];
|
||||||
while (*s && (g_ascii_isalnum (*s) || strchr ("/-_.:", *s) != NULL))
|
while (*s && (g_ascii_isalnum (*s) || strchr ("/-_.:+", *s) != NULL))
|
||||||
s++;
|
s++;
|
||||||
if (*s != '\0') {
|
if (*s != '\0') {
|
||||||
GST_WARNING ("Invalid character '%c' at offset %lu in structure name: %s",
|
GST_WARNING ("Invalid character '%c' at offset %lu in structure name: %s",
|
||||||
|
|
Loading…
Reference in a new issue