summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan <ian.arkver.dev@gmail.com>2016-05-18 16:48:44 +0100
committerSebastian Dröge <sebastian@centricular.com>2016-05-20 09:07:18 +0300
commit292fd3e518ed0265f7eb2537ea737f96864f291f (patch)
tree5ee909a6fcd2bed8febd55115969908c919c0267
parentcba045e1b19fad6e689e10206f57903e15f1229a (diff)
rtsp-session: RFC2326 does not allow a space between ; and timeout in the Session header
This works with rtspsrc and live555, but fails with e.g. ffmpeg. https://bugzilla.gnome.org/show_bug.cgi?id=766619
-rw-r--r--gst/rtsp-server/rtsp-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtsp-server/rtsp-session.c b/gst/rtsp-server/rtsp-session.c
index 052537e..10f5648 100644
--- a/gst/rtsp-server/rtsp-session.c
+++ b/gst/rtsp-server/rtsp-session.c
@@ -488,7 +488,7 @@ gst_rtsp_session_get_header (GstRTSPSession * session)
g_mutex_lock (&priv->lock);
if (priv->timeout_always_visible || priv->timeout != 60)
- result = g_strdup_printf ("%s; timeout=%d", priv->sessionid, priv->timeout);
+ result = g_strdup_printf ("%s;timeout=%d", priv->sessionid, priv->timeout);
else
result = g_strdup (priv->sessionid);
g_mutex_unlock (&priv->lock);