Commit f19bf3ed authored by Henry Wilkes's avatar Henry Wilkes

xml-formatter: strip "caps" from the "properties" attribute of a track

element

We already have the separate "caps" attribute for xges track
elements, which is actually used in parsing.
parent bd3518ab
Pipeline #57306 failed with stages
in 28 minutes and 33 seconds
......@@ -1354,7 +1354,7 @@ _save_tracks (GESXmlFormatter * self, GString * str, GESTimeline * timeline,
tracks = ges_timeline_get_tracks (timeline);
for (tmp = tracks; tmp; tmp = tmp->next) {
track = GES_TRACK (tmp->data);
properties = _serialize_properties (G_OBJECT (track), NULL);
properties = _serialize_properties (G_OBJECT (track), "caps", NULL);
strtmp = gst_caps_to_string (ges_track_get_caps (track));
metas = ges_meta_container_metas_to_string (GES_META_CONTAINER (track));
append_escaped (str,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment