diff options
Diffstat (limited to 'gst')
-rw-r--r-- | gst/rtsp-server/rtsp-stream.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/rtsp-server/rtsp-stream.c b/gst/rtsp-server/rtsp-stream.c index 4e5f644..60442ad 100644 --- a/gst/rtsp-server/rtsp-stream.c +++ b/gst/rtsp-server/rtsp-stream.c @@ -2881,7 +2881,6 @@ update_transport (GstRTSPStream * stream, GstRTSPStreamTransport * trans, gst_object_unref (pad); gst_object_unref (selpad); } - gst_object_unref (bin); priv->transport_sources = g_list_prepend (priv->transport_sources, source); @@ -2917,6 +2916,8 @@ update_transport (GstRTSPStream * stream, GstRTSPStreamTransport * trans, } } + gst_object_unref (bin); + /* fall through for the generic case */ } case GST_RTSP_LOWER_TRANS_UDP: |