track-video-transition: Return pending type in transition_get_type when needed

This commit is contained in:
Mathieu Duponchelle 2012-05-01 23:42:47 +02:00 committed by Thibault Saunier
parent 9905e77a5a
commit 1a3fde1bee

View file

@ -685,6 +685,8 @@ ges_track_video_transition_set_transition_type (GESTrackVideoTransition * self,
GESVideoStandardTransitionType
ges_track_video_transition_get_transition_type (GESTrackVideoTransition * trans)
{
if (trans->priv->pending_type)
return trans->priv->pending_type;
return trans->priv->type;
}