From: Thibault Saunier Date: Thu, 11 Jul 2019 19:43:47 +0000 (-0400) Subject: xml-formatter: Fix loading sources X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c125093bb1785742fc6950d7244427400951ff4e;p=platform%2Fupstream%2Fgst-editing-services.git xml-formatter: Fix loading sources And fix the project file which couldn't be load now that we properly check clips coherency --- diff --git a/ges/ges-base-xml-formatter.c b/ges/ges-base-xml-formatter.c index 971cd77..f4744b5 100644 --- a/ges/ges-base-xml-formatter.c +++ b/ges/ges-base-xml-formatter.c @@ -1069,7 +1069,7 @@ ges_base_xml_formatter_add_source (GESBaseXmlFormatter * self, GESBaseXmlFormatterPrivate *priv = _GET_PRIV (self); GESTrackElement *element = NULL; - if (priv->state == STATE_LOADING_CLIPS) { + if (priv->state != STATE_LOADING_CLIPS) { GST_DEBUG_OBJECT (self, "Not loading source elements in %s state.", loading_state_name (priv->state)); return; diff --git a/tests/check/ges/test-properties.xges b/tests/check/ges/test-properties.xges index 1fde741..ff74b63 100644 --- a/tests/check/ges/test-properties.xges +++ b/tests/check/ges/test-properties.xges @@ -14,7 +14,7 @@ - +