gst-editing-services: ges: Disconnect the TrackObject when removed from a Track

Thibault Saunier tsaunier at kemper.freedesktop.org
Wed Jan 11 07:04:35 PST 2012


Module: gst-editing-services
Branch: master
Commit: ce6edd94f496fda35e6055d9c8afcc8abb30bff8
URL:    http://cgit.freedesktop.org/gstreamer/gst-editing-services/commit/?id=ce6edd94f496fda35e6055d9c8afcc8abb30bff8

Author: Thibault Saunier <thibault.saunier at collabora.com>
Date:   Fri Dec 23 19:23:31 2011 +0100

ges: Disconnect the TrackObject when removed from a Track

---

 ges/ges-track.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ges/ges-track.c b/ges/ges-track.c
index db7ac2c..60f2979 100644
--- a/ges/ges-track.c
+++ b/ges/ges-track.c
@@ -559,6 +559,8 @@ ges_track_remove_object (GESTrack * track, GESTrackObject * object)
     }
   }
 
+  g_signal_handlers_disconnect_by_func (object, sort_track_objects_cb, NULL);
+
   ges_track_object_set_track (object, NULL);
 
   g_signal_emit (track, ges_track_signals[TRACK_OBJECT_REMOVED], 0,



More information about the gstreamer-commits mailing list