Commit ba21661c authored by Wim Taymans's avatar Wim Taymans

rtsp: improve debug

parent c34f5d1c
......@@ -905,7 +905,7 @@ parse_transport (const char *transport, GstRTSPLowerTrans supported,
res = FALSE;
gst_rtsp_transport_init (tr);
GST_WARNING ("parsing transports %s", transport);
GST_DEBUG ("parsing transports %s", transport);
transports = g_strsplit (transport, ",", 0);
......
......@@ -493,6 +493,8 @@ gst_rtsp_media_set_buffer_size (GstRTSPMedia * media, guint size)
{
g_return_if_fail (GST_IS_RTSP_MEDIA (media));
GST_LOG_OBJECT (media, "set buffer size %u", size);
g_mutex_lock (&media->lock);
media->buffer_size = size;
g_mutex_unlock (&media->lock);
......@@ -534,6 +536,8 @@ gst_rtsp_media_set_auth (GstRTSPMedia * media, GstRTSPAuth * auth)
g_return_if_fail (GST_IS_RTSP_MEDIA (media));
GST_LOG_OBJECT (media, "set auth %p", auth);
g_mutex_lock (&media->lock);
if ((old = media->auth) != auth)
media->auth = auth ? g_object_ref (auth) : NULL;
......@@ -584,6 +588,8 @@ gst_rtsp_media_set_address_pool (GstRTSPMedia * media,
g_return_if_fail (GST_IS_RTSP_MEDIA (media));
GST_LOG_OBJECT (media, "set address pool %p", pool);
g_mutex_lock (&media->lock);
if ((old = media->pool) != pool)
media->pool = pool ? g_object_ref (pool) : NULL;
......
......@@ -123,6 +123,8 @@ gst_rtsp_stream_set_mtu (GstRTSPStream * stream, guint mtu)
{
g_return_if_fail (GST_IS_RTSP_STREAM (stream));
GST_LOG_OBJECT (stream, "set MTU %u", mtu);
g_object_set (G_OBJECT (stream->payloader), "mtu", mtu, NULL);
}
......@@ -161,6 +163,8 @@ gst_rtsp_stream_set_address_pool (GstRTSPStream * stream,
g_return_if_fail (GST_IS_RTSP_STREAM (stream));
GST_LOG_OBJECT (stream, "set address pool %p", pool);
g_mutex_lock (&stream->lock);
if ((old = stream->pool) != pool)
stream->pool = pool ? g_object_ref (pool) : NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment