value: Always add the type name to elements when serializing arrays/lists
authorVivia Nikolaidou <vivia@toolsonair.com>
Thu, 23 Feb 2017 18:47:30 +0000 (20:47 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 23 Feb 2017 18:48:40 +0000 (20:48 +0200)
commita3cfcbfeded337778000ac061c8b6239208f448c
tree59cf2db07adcf74cd81bf31d57b727e5532e37f8
parent33118f61180759adc7b2b3c78b19a9c1340d995d
value: Always add the type name to elements when serializing arrays/lists

But only when serializing outside of GstStructures, because in case of
GstStructure the type is already preprended to the array/list and the
GstStructure API makes sure that they have the same "generic" type so
deserialization works properly.

This keeps serialization of GstStructures the same as before, and the
GstCaps unit tests already test for that. However when serializing
standalone arrays/lists get the types added now.
gst/gst_private.h
gst/gststructure.c
gst/gstvalue.c