mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
xml-formatter: Fix loading sources
And fix the project file which couldn't be load now that we properly check clips coherency
This commit is contained in:
parent
18eedb3c28
commit
c125093bb1
2 changed files with 2 additions and 2 deletions
|
@ -1069,7 +1069,7 @@ ges_base_xml_formatter_add_source (GESBaseXmlFormatter * self,
|
||||||
GESBaseXmlFormatterPrivate *priv = _GET_PRIV (self);
|
GESBaseXmlFormatterPrivate *priv = _GET_PRIV (self);
|
||||||
GESTrackElement *element = NULL;
|
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.",
|
GST_DEBUG_OBJECT (self, "Not loading source elements in %s state.",
|
||||||
loading_state_name (priv->state));
|
loading_state_name (priv->state));
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<track track-type="2" caps="audio/x-raw" track-id="0"/>
|
<track track-type="2" caps="audio/x-raw" track-id="0"/>
|
||||||
<track track-type="4" caps="video/x-raw" track-id="1"/>
|
<track track-type="4" caps="video/x-raw" track-id="1"/>
|
||||||
<layer priority="0" properties='properties, auto-transition=(boolean)true;' metadatas='metadatas, a=(guint)3'>
|
<layer priority="0" properties='properties, auto-transition=(boolean)true;' metadatas='metadatas, a=(guint)3'>
|
||||||
<clip id="0" layer-priority='0' asset-id="file:///test/not/exisiting" type-name="GESUriClip" track-types="6" start="0" duration="10000000000">
|
<clip id="0" layer-priority='0' asset-id="file:///test/not/exisiting" type-name="GESUriClip" track-types="6" start="0" duration="1000000000">
|
||||||
<effect asset-id='agingtv' clip-id='0' type-name='GESEffect' track-type='4' track-id='1' metadatas='metadatas;' children-properties='properties, scratch-lines=(uint)12;'/>
|
<effect asset-id='agingtv' clip-id='0' type-name='GESEffect' track-type='4' track-id='1' metadatas='metadatas;' children-properties='properties, scratch-lines=(uint)12;'/>
|
||||||
</clip>
|
</clip>
|
||||||
</layer>
|
</layer>
|
||||||
|
|
Loading…
Reference in a new issue