mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-04 05:22:30 +00:00
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:
parent
7f71914f07
commit
21807d6637
1 changed files with 4 additions and 0 deletions
|
@ -519,6 +519,10 @@ _add_track_element (GESFormatter * self, GESClip * clip,
|
||||||
ges_container_add (GES_CONTAINER (clip), GES_TIMELINE_ELEMENT (trackelement));
|
ges_container_add (GES_CONTAINER (clip), GES_TIMELINE_ELEMENT (trackelement));
|
||||||
gst_structure_foreach (children_properties,
|
gst_structure_foreach (children_properties,
|
||||||
(GstStructureForeachFunc) _set_child_property, trackelement);
|
(GstStructureForeachFunc) _set_child_property, trackelement);
|
||||||
|
|
||||||
|
if (properties)
|
||||||
|
gst_structure_foreach (properties,
|
||||||
|
(GstStructureForeachFunc) set_property_foreach, trackelement);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue