mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +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>
|
||||
|
||||
* docs/gst/gstreamer-sections.txt:
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue