gstvalue: Do more checks when guessing at flagset strings
authorJan Schmidt <jan@centricular.com>
Thu, 9 Mar 2017 01:09:57 +0000 (12:09 +1100)
committerJan Schmidt <jan@centricular.com>
Thu, 9 Mar 2017 01:09:57 +0000 (12:09 +1100)
commitd781d09d99428b1626d76171868fe16c2cf8ede2
treeaa31a599608319a8004e24c640b5e83e4c11424d
parent9b0a6ca7ab43db3203e11ef5a3a40fad59d18166
gstvalue: Do more checks when guessing at flagset strings

If guessing that a string matches a flagset, be more thorough
at checking that the string following a string of hex:hex:
actually looks like a flag set string. Add some unit tests
to catch more cases.

https://bugzilla.gnome.org/show_bug.cgi?id=779755
gst/gstvalue.c
tests/check/gst/gstcaps.c
tests/check/gst/gststructure.c