structure: Change NULL and empty string handling
authorJan Schmidt <thaytan@noraisin.net>
Thu, 2 Jul 2009 11:40:05 +0000 (12:40 +0100)
committerJan Schmidt <thaytan@noraisin.net>
Mon, 13 Jul 2009 17:28:37 +0000 (18:28 +0100)
commit7bf3554228f52e06e465fc02d31ac4b1b267ff7d
tree6cc6342984c84785dfe25e9393e0a39b5177616e
parent082b410567aed161c8663d605f63af1fe4c68cb0
structure: Change NULL and empty string handling

Don't forbid the empty string "" in generic structures, only in taglists.
Properly allow the NULL string by adding special cases for serialising
and deserialising it. prop1=(string)NULL is the NULL string,
prop1=(string)"NULL" is the actual string with the value "NULL"
gst/gststructure.c
gst/gstvalue.c
tests/check/gst/gststructure.c
tests/check/gst/gstvalue.c