xml-formatter: Do not forget to set properties on the track elements

We were just setting children properties, even if the propertie to be
set on themselves where properly passed in

https://bugzilla.gnome.org/show_bug.cgi?id=729487
This commit is contained in:
Thibault Saunier 2014-11-01 11:32:16 +01:00
parent 7f71914f07
commit 21807d6637

View file

@ -519,6 +519,10 @@ _add_track_element (GESFormatter * self, GESClip * clip,
ges_container_add (GES_CONTAINER (clip), GES_TIMELINE_ELEMENT (trackelement));
gst_structure_foreach (children_properties,
(GstStructureForeachFunc) _set_child_property, trackelement);
if (properties)
gst_structure_foreach (properties,
(GstStructureForeachFunc) set_property_foreach, trackelement);
}
static void