From f19bf3edb47faaae3b30c470f3ea465ad0019195 Mon Sep 17 00:00:00 2001 From: Henry Wilkes Date: Fri, 16 Aug 2019 17:41:17 +0100 Subject: [PATCH] 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. --- ges/ges-xml-formatter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ges/ges-xml-formatter.c b/ges/ges-xml-formatter.c index 7485d7eb78..a96f05195e 100644 --- a/ges/ges-xml-formatter.c +++ b/ges/ges-xml-formatter.c @@ -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,