mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
track-video-transition: Return pending type in transition_get_type when needed
This commit is contained in:
parent
9905e77a5a
commit
1a3fde1bee
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue