mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
structure-interface: rename layer-priority to layer.
+ And add a short name for it in ges-launch.
This commit is contained in:
parent
396196dfdf
commit
761067b685
2 changed files with 3 additions and 0 deletions
|
@ -206,6 +206,8 @@ _ges_add_clip_from_struct (GESTimeline * timeline, GstStructure * structure,
|
|||
TRY_GET ("name", G_TYPE_STRING, &name, NULL);
|
||||
TRY_GET ("layer-priority", G_TYPE_INT, &layer_priority,
|
||||
g_list_length (timeline->layers));
|
||||
TRY_GET ("layer", G_TYPE_INT, &layer_priority,
|
||||
g_list_length (timeline->layers));
|
||||
TRY_GET ("type", G_TYPE_STRING, &type_string, "GESUriClip");
|
||||
TRY_GET ("start", GST_TYPE_CLOCK_TIME, &start, 0);
|
||||
TRY_GET ("inpoint", GST_TYPE_CLOCK_TIME, &inpoint, 0);
|
||||
|
|
|
@ -290,6 +290,7 @@ _add_clip (GESTimeline * timeline, GstStructure * structure, GError ** error)
|
|||
{"duration", "d", GST_TYPE_CLOCK_TIME, NULL},
|
||||
{"inpoint", "i", GST_TYPE_CLOCK_TIME, NULL},
|
||||
{"track-types", "tt", 0, NULL},
|
||||
{"layer", "l", 0, NULL},
|
||||
{NULL},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue