summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2017-06-05 19:05:15 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2017-06-05 19:05:15 -0400
commitc5c0427aa055852f2de9f7d0273d3e994ac91df4 (patch)
tree93219e864d5554293d2a4739198f47e9b3c39ae6
parent3123a5be03190c55fe1401d9dbb90c09078b2dee (diff)
downloadfarstream-c5c0427aa055852f2de9f7d0273d3e994ac91df4.tar.gz
stream: Stop substreams before removing them
https://bugs.freedesktop.org/show_bug.cgi?id=100644
-rw-r--r--gst/fsrtpconference/fs-rtp-stream.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/fsrtpconference/fs-rtp-stream.c b/gst/fsrtpconference/fs-rtp-stream.c
index 1ef6b2e8..593af4d8 100644
--- a/gst/fsrtpconference/fs-rtp-stream.c
+++ b/gst/fsrtpconference/fs-rtp-stream.c
@@ -359,6 +359,7 @@ fs_rtp_stream_dispose (GObject *object)
FsRtpSubStream *substream = self->substreams->data;
self->substreams = g_list_remove (self->substreams, substream);
FS_RTP_SESSION_UNLOCK (session);
+ fs_rtp_sub_stream_stop (substream);
g_object_unref (substream);
FS_RTP_SESSION_LOCK (session);
}