mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
TrackVideoTransition: Use proper transition type
This commit is contained in:
parent
6dfc14b3e6
commit
c0e21a4a69
2 changed files with 3 additions and 2 deletions
|
@ -319,7 +319,8 @@ ges_track_video_transition_duration_changed (GESTrackTransition * object,
|
|||
}
|
||||
|
||||
void
|
||||
ges_track_video_transition_set_type (GESTrackVideoTransition * self, gint type)
|
||||
ges_track_video_transition_set_type (GESTrackVideoTransition * self,
|
||||
GESVideoTransitionType type)
|
||||
{
|
||||
if (((type == GES_VIDEO_TRANSITION_TYPE_CROSSFADE)
|
||||
&& (self->type != GES_VIDEO_TRANSITION_TYPE_CROSSFADE))
|
||||
|
|
|
@ -87,7 +87,7 @@ struct _GESTrackVideoTransitionClass {
|
|||
GType ges_track_video_transition_get_type (void);
|
||||
|
||||
void
|
||||
ges_track_video_transition_set_type (GESTrackVideoTransition * self, gint type);
|
||||
ges_track_video_transition_set_type (GESTrackVideoTransition * self, GESVideoTransitionType type);
|
||||
|
||||
GESTrackVideoTransition* ges_track_video_transition_new (void);
|
||||
|
||||
|
|
Loading…
Reference in a new issue