From c5c0427aa055852f2de9f7d0273d3e994ac91df4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Mon, 5 Jun 2017 19:05:15 -0400 Subject: stream: Stop substreams before removing them https://bugs.freedesktop.org/show_bug.cgi?id=100644 --- gst/fsrtpconference/fs-rtp-stream.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gst') 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); } -- cgit v1.2.1