mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
ges/ges-track-transition.{c,h}: api change: pass gint instead of GEnumValue
This commit is contained in:
parent
b3ec2bad19
commit
3caed9bff4
2 changed files with 3 additions and 4 deletions
|
@ -438,11 +438,10 @@ ges_track_transition_init (GESTrackTransition * self)
|
||||||
}
|
}
|
||||||
|
|
||||||
GESTrackTransition *
|
GESTrackTransition *
|
||||||
ges_track_transition_new (GEnumValue * type)
|
ges_track_transition_new (gint value)
|
||||||
{
|
{
|
||||||
GESTrackTransition *ret = g_object_new (GES_TYPE_TRACK_TRANSITION, NULL);
|
GESTrackTransition *ret = g_object_new (GES_TYPE_TRACK_TRANSITION, NULL);
|
||||||
if (type)
|
ret->vtype = value;
|
||||||
ret->vtype = type->value;
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
@ -99,7 +99,7 @@ struct _GESTrackTransitionClass {
|
||||||
|
|
||||||
GType ges_track_transition_get_type (void);
|
GType ges_track_transition_get_type (void);
|
||||||
|
|
||||||
GESTrackTransition *ges_track_transition_new (GEnumValue *type);
|
GESTrackTransition *ges_track_transition_new (gint value);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue