mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
fix handling of _ in properties
Original commit message from CVS: fix handling of _ in properties
This commit is contained in:
parent
eb01d6187a
commit
a2961db715
1 changed files with 1 additions and 1 deletions
|
@ -486,7 +486,7 @@ gst_props_entry_from_string (gchar *str, gchar **after)
|
|||
GstPropsEntry *entry;
|
||||
|
||||
name = s = str;
|
||||
while (g_ascii_isalnum (*s)) s++;
|
||||
while (g_ascii_isalnum (*s) || *s == '_' || *s == '-') s++;
|
||||
del = s;
|
||||
while (g_ascii_isspace (*s)) s++;
|
||||
if (!(*s == '=' || *s == ':')) return NULL;
|
||||
|
|
Loading…
Reference in a new issue