g_list_free_full (media->dynamic, gst_object_unref);
+ if (media->pipeline)
+ gst_object_unref (media->pipeline);
if (media->auth)
g_object_unref (media->auth);
if (media->pool)
/* create the stream */
gst_rtsp_media_create_stream (media, elem, pad);
gst_object_unref (pad);
-
gst_object_unref (elem);
have_elem = TRUE;
* @buffer_size: The UDP buffer size
* @auth: the authentication service in use
* @multicast_group: the multicast group to use
- * @element: the data providing element
+ * @element: the data providing element, owned by @pipeline
* @streams: the different #GstRTSPStream provided by @element
* @dynamic: list of dynamic elements managed by @element
* @status: the status of the media pipeline