gst/gststructure.c: When deserialising foo=bar without a type cast, check if it's...
authorTim-Philipp Müller <tim@centricular.net>
Sun, 8 Jul 2007 14:11:53 +0000 (14:11 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Sun, 8 Jul 2007 14:11:53 +0000 (14:11 +0000)
commitcf8abdf3a362feb3aa90530a5527c2d6803d0331
treeb0d318a41cb908ab807e9f6d8356ba671ccf3086
parent286cd75855a993863481ded180f02f11ffb5ead2
gst/gststructure.c: When deserialising foo=bar without a type cast, check if it's a boolean before falling back to a ...

Original commit message from CVS:
* gst/gststructure.c: (gst_structure_parse_value):
When deserialising foo=bar without a type cast, check if it's a
boolean before falling back to a string type, otherwise things like
audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
because the filtercaps end up having a signed=(string)true field,
which causes problems later when intersection caps.
* tests/check/gst/gststructure.c: (GST_START_TEST):
Add a unit test for this.
ChangeLog
gst/gststructure.c
tests/check/gst/gststructure.c