mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
ges: Fix how we handle layer vs layer-priority in the structured interface
This commit is contained in:
parent
844ce69650
commit
254c2b1f5e
1 changed files with 2 additions and 1 deletions
|
@ -346,7 +346,8 @@ _ges_add_clip_from_struct (GESTimeline * timeline, GstStructure * structure,
|
|||
TRY_GET ("pattern", G_TYPE_STRING, &pattern, NULL);
|
||||
TRY_GET ("name", G_TYPE_STRING, &name, NULL);
|
||||
TRY_GET ("layer-priority", G_TYPE_INT, &layer_priority, -1);
|
||||
TRY_GET ("layer", G_TYPE_INT, &layer_priority, -1);
|
||||
if (layer_priority == -1)
|
||||
TRY_GET ("layer", G_TYPE_INT, &layer_priority, -1);
|
||||
TRY_GET ("type", G_TYPE_STRING, &type_string, "GESUriClip");
|
||||
TRY_GET ("start", GST_TYPE_CLOCK_TIME, &start, GST_CLOCK_TIME_NONE);
|
||||
TRY_GET ("inpoint", GST_TYPE_CLOCK_TIME, &inpoint, 0);
|
||||
|
|
Loading…
Reference in a new issue