rtsp-stream: unref srtp decoder when leaving bin

https://bugzilla.gnome.org/show_bug.cgi?id=739481
This commit is contained in:
Aleix Conchillo Flaqué 2014-10-31 23:01:53 -07:00 committed by Tim-Philipp Müller
parent ef9dc6c9e4
commit 7c267928ff

View file

@ -2062,6 +2062,8 @@ gst_rtsp_stream_leave_bin (GstRTSPStream * stream, GstBin * bin,
if (priv->srtpenc)
gst_object_unref (priv->srtpenc);
if (priv->srtpdec)
gst_object_unref (priv->srtpdec);
priv->is_joined = FALSE;
g_mutex_unlock (&priv->lock);