From 219c8791e6e5bb6146d462d989b7833b04b02a27 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Fri, 6 May 2016 15:44:28 -0300 Subject: [PATCH] formatter: Prefix all children properties in the XML formatter Otherwise it will fail on properties that are mandatorily prefixed like the newly added deinterlacing properties --- ges/ges-xml-formatter.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ges/ges-xml-formatter.c b/ges/ges-xml-formatter.c index b040d7787f..2ac6c6a720 100644 --- a/ges/ges-xml-formatter.c +++ b/ges/ges-xml-formatter.c @@ -994,9 +994,15 @@ _save_children_properties (GString * str, GESTrackElement * trackelement) spec = pspecs[i]; if (_can_serialize_spec (spec)) { + gchar *spec_name = + g_strdup_printf ("%s::%s", g_type_name (spec->owner_type), + spec->name); + _init_value_from_spec_for_serialization (&val, spec); ges_track_element_get_child_property_by_pspec (trackelement, spec, &val); - gst_structure_set_value (structure, spec->name, &val); + gst_structure_set_value (structure, spec_name, &val); + + g_free (spec_name); g_value_unset (&val); } g_param_spec_unref (spec);