TrackVideoTransition: Use proper transition type

This commit is contained in:
Edward Hervey 2010-07-06 16:26:48 +02:00
parent 6dfc14b3e6
commit c0e21a4a69
2 changed files with 3 additions and 2 deletions

View file

@ -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))

View file

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