[farsight2/master] rtp: Make sure substream is stopped before disposing of it

Olivier Crête olivier.crete at collabora.co.uk
Wed May 13 13:47:28 PDT 2009


---
 gst/fsrtpconference/fs-rtp-substream.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-substream.c b/gst/fsrtpconference/fs-rtp-substream.c
index ae0289d..034bc20 100644
--- a/gst/fsrtpconference/fs-rtp-substream.c
+++ b/gst/fsrtpconference/fs-rtp-substream.c
@@ -676,8 +676,7 @@ fs_rtp_sub_stream_dispose (GObject *object)
 {
   FsRtpSubStream *self = FS_RTP_SUB_STREAM (object);
 
-  if (self->priv->disposed)
-    return;
+  fs_rtp_sub_stream_stop (self);
 
   fs_rtp_sub_stream_stop_no_rtcp_timeout_thread (self);
 
-- 
1.5.6.5




More information about the farsight-commits mailing list