xml-formatter: message-forward is not something that should be parsed.
authorMathieu Duponchelle <mathieu.duponchelle@opencreed.com>
Thu, 24 Jul 2014 15:55:35 +0000 (17:55 +0200)
committerThibault Saunier <tsaunier@gnome.org>
Fri, 31 Oct 2014 10:58:07 +0000 (11:58 +0100)
ges/ges-base-xml-formatter.c

index 04b3513..18d7c6c 100644 (file)
@@ -942,7 +942,7 @@ ges_base_xml_formatter_add_track (GESBaseXmlFormatter * self,
 
     gst_structure_get (properties, "restriction-caps", G_TYPE_STRING,
         &restriction, NULL);
-    gst_structure_remove_fields (properties, "restriction-caps", "caps", NULL);
+    gst_structure_remove_fields (properties, "restriction-caps", "caps", "message-forward", NULL);
     if (g_strcmp0 (restriction, "NULL")) {
       caps = gst_caps_from_string (restriction);
       ges_track_set_restriction_caps (track, caps);