ges/ges-timeline-transition.c: sync with API change in previous commit

This commit is contained in:
Brandon Lewis 2010-06-02 16:35:57 +02:00 committed by Edward Hervey
parent 3caed9bff4
commit e69dcea71a

View file

@ -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;
}