mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 16:08:51 +00:00
formatter: Fix mixup in variable check
This commit is contained in:
parent
2381090378
commit
e4d4e0df1e
2 changed files with 4 additions and 2 deletions
|
@ -1006,7 +1006,7 @@ ges_base_xml_formatter_add_clip (GESBaseXmlFormatter * self,
|
||||||
|
|
||||||
pclip->properties = properties ? gst_structure_copy (properties) : NULL;
|
pclip->properties = properties ? gst_structure_copy (properties) : NULL;
|
||||||
pclip->children_properties =
|
pclip->children_properties =
|
||||||
properties ? gst_structure_copy (children_properties) : NULL;
|
children_properties ? gst_structure_copy (children_properties) : NULL;
|
||||||
pclip->metadatas = g_strdup (metadatas);
|
pclip->metadatas = g_strdup (metadatas);
|
||||||
|
|
||||||
/* Add the new pending object to the hashtable */
|
/* Add the new pending object to the hashtable */
|
||||||
|
|
|
@ -1223,8 +1223,10 @@ _save_layers (GESXmlFormatter * self, GString * str, GESTimeline * timeline)
|
||||||
ges_clip_get_supported_formats (clip), _START (clip),
|
ges_clip_get_supported_formats (clip), _START (clip),
|
||||||
_DURATION (clip), _INPOINT (clip), 0, properties));
|
_DURATION (clip), _INPOINT (clip), 0, properties));
|
||||||
|
|
||||||
if (GES_IS_TRANSITION_CLIP (clip))
|
if (GES_IS_TRANSITION_CLIP (clip)) {
|
||||||
_save_children_properties (str, GES_TIMELINE_ELEMENT (clip));
|
_save_children_properties (str, GES_TIMELINE_ELEMENT (clip));
|
||||||
|
self->priv->min_version = MAX (self->priv->min_version, 4);
|
||||||
|
}
|
||||||
g_string_append (str, ">\n");
|
g_string_append (str, ">\n");
|
||||||
|
|
||||||
g_free (extractable_id);
|
g_free (extractable_id);
|
||||||
|
|
Loading…
Reference in a new issue