mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-06 08:09:56 +00:00
ges/ges-track-transition.{c,h}: add fields for audio interpolation to obj
This commit is contained in:
parent
542e8afb75
commit
79ebc389e0
2 changed files with 23 additions and 6 deletions
|
@ -96,17 +96,29 @@ ges_track_transition_dispose (GObject * object)
|
|||
if (self->vcontroller) {
|
||||
g_object_unref (self->vcontroller);
|
||||
self->vcontroller = NULL;
|
||||
/* is this referenced by the controller ? */
|
||||
/* is this referenec owned by someone other than us? */
|
||||
self->vcontrol_source = NULL;
|
||||
}
|
||||
|
||||
if (self->a_acontroller) {
|
||||
g_object_unref (self->a_acontroller);
|
||||
self->a_acontroller = NULL;
|
||||
self->a_acontrol_source = NULL;
|
||||
}
|
||||
|
||||
if (self->a_bcontroller) {
|
||||
g_object_unref (self->a_acontroller);
|
||||
self->a_bcontroller = NULL;
|
||||
self->a_bcontrol_source = NULL;
|
||||
}
|
||||
|
||||
G_OBJECT_CLASS (ges_track_transition_parent_class)->dispose (object);
|
||||
}
|
||||
|
||||
static void
|
||||
ges_track_transition_finalize (GObject * object)
|
||||
{
|
||||
G_OBJECT_CLASS (ges_track_transition_parent_class)->dispose (object);
|
||||
G_OBJECT_CLASS (ges_track_transition_parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
static GObject *
|
||||
|
@ -258,8 +270,11 @@ ges_track_transition_init (GESTrackTransition * self)
|
|||
self->vstart_value = 0.0;
|
||||
self->vend_value = 0.0;
|
||||
|
||||
self->acontroller = NULL;
|
||||
self->acontrol_source = NULL;
|
||||
self->a_acontroller = NULL;
|
||||
self->a_acontrol_source = NULL;
|
||||
|
||||
self->a_bcontroller = NULL;
|
||||
self->a_bcontrol_source = NULL;
|
||||
}
|
||||
|
||||
GESTrackTransition *
|
||||
|
|
|
@ -59,9 +59,11 @@ struct _GESTrackTransition
|
|||
gdouble vstart_value;
|
||||
gdouble vend_value;
|
||||
|
||||
GstController *acontroller;
|
||||
GstInterpolationControlSource *acontrol_source;
|
||||
GstController *a_acontroller;
|
||||
GstInterpolationControlSource *a_acontrol_source;
|
||||
|
||||
GstController *a_bcontroller;
|
||||
GstInterpolationControlSource *a_bcontrol_source;
|
||||
};
|
||||
|
||||
struct _GESTrackTransitionClass {
|
||||
|
|
Loading…
Reference in a new issue