From 082099005dc21c0efcac40bd57ad71407d9aeedc Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 29 Jan 2009 17:19:21 +0100 Subject: [PATCH] Add a little comment Add some comment about the content-base header. --- gst/rtsp-server/rtsp-client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/rtsp-server/rtsp-client.c b/gst/rtsp-server/rtsp-client.c index 56d9320..679c34f 100644 --- a/gst/rtsp-server/rtsp-client.c +++ b/gst/rtsp-server/rtsp-client.c @@ -518,6 +518,7 @@ handle_describe_response (GstRTSPClient *client, GstRTSPUrl *uri, GstRTSPMessage gst_rtsp_message_add_header (&response, GST_RTSP_HDR_CONTENT_TYPE, "application/sdp"); + /* content base for some clients that might screw up creating the setup uri */ str = g_strdup_printf ("rtsp://%s:%u%s/", uri->host, uri->port, uri->abspath); gst_rtsp_message_add_header (&response, GST_RTSP_HDR_CONTENT_BASE, str); g_free (str); -- 2.7.4