structure: fix serialisation of nested structures.
authorStefan Kost <ensonic@users.sf.net>
Tue, 2 Jun 2009 15:36:10 +0000 (18:36 +0300)
committerStefan Kost <ensonic@users.sf.net>
Tue, 2 Jun 2009 15:39:17 +0000 (18:39 +0300)
commit47d9904ebab49e362c464ef48271ebdb54cde94c
treecd1152df5d2d4c72a4847d3eebe58428f4cb0919
parent71a5ebe638ed611d488c9ffedbf03b7cf9c14dac
structure: fix serialisation of nested structures.

Use string_warp/unwrap to escape delimiters, otherwise deserialisation fails.
Also move GST_ASCII_IS_STRING to private header to avoid keeping it in sync.
Also use '\0' when terminating a string for better readability.
gst/gst_private.h
gst/gststructure.c
gst/gstvalue.c
tests/check/gst/gststructure.c