mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-05 10:12:20 +00:00
GESTrackTransition: Unref the ControlSource in dispose
This commit is contained in:
parent
4188c6fa97
commit
5e2660b2c2
1 changed files with 6 additions and 1 deletions
|
@ -158,19 +158,24 @@ ges_track_transition_dispose (GObject * object)
|
|||
if (self->vcontroller) {
|
||||
g_object_unref (self->vcontroller);
|
||||
self->vcontroller = NULL;
|
||||
/* is this referenec owned by someone other than us? */
|
||||
if (self->vcontrol_source)
|
||||
gst_object_unref (self->vcontrol_source);
|
||||
self->vcontrol_source = NULL;
|
||||
}
|
||||
|
||||
if (self->a_acontroller) {
|
||||
g_object_unref (self->a_acontroller);
|
||||
self->a_acontroller = NULL;
|
||||
if (self->a_acontrol_source)
|
||||
gst_object_unref (self->a_acontrol_source);
|
||||
self->a_acontrol_source = NULL;
|
||||
}
|
||||
|
||||
if (self->a_bcontroller) {
|
||||
g_object_unref (self->a_acontroller);
|
||||
self->a_bcontroller = NULL;
|
||||
if (self->a_bcontrol_source)
|
||||
gst_object_unref (self->a_bcontrol_source);
|
||||
self->a_bcontrol_source = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue