mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
ges/ges-timeline-transition.c: sync with API change in previous commit
This commit is contained in:
parent
3caed9bff4
commit
e69dcea71a
1 changed files with 5 additions and 1 deletions
|
@ -95,7 +95,11 @@ ges_tl_transition_create_track_object (GESTimelineObject * obj,
|
|||
|
||||
GST_DEBUG ("Creating a GESTrackTransition");
|
||||
|
||||
res = GES_TRACK_OBJECT (ges_track_transition_new (transition->vtype));
|
||||
gint type = 0;
|
||||
if (transition->vtype)
|
||||
type = transition->vtype->value;
|
||||
|
||||
res = GES_TRACK_OBJECT (ges_track_transition_new (type));
|
||||
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue