[gst-cvs] gst-plugins-base: rtsp: start CSeq counting from 1 instead of 0
Wim Taymans
wtay at kemper.freedesktop.org
Wed Mar 25 08:37:16 PDT 2009
Module: gst-plugins-base
Branch: master
Commit: 0d3d3026d2a1627a30e65c8e8dfba2a0304ff2d5
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=0d3d3026d2a1627a30e65c8e8dfba2a0304ff2d5
Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date: Wed Mar 25 16:37:28 2009 +0100
rtsp: start CSeq counting from 1 instead of 0
Start counting from 1 instead of 0 as this is what most other clients
seem to do.
---
gst-libs/gst/rtsp/gstrtspconnection.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/gst-libs/gst/rtsp/gstrtspconnection.c b/gst-libs/gst/rtsp/gstrtspconnection.c
index fd60a04..6f52ea0 100644
--- a/gst-libs/gst/rtsp/gstrtspconnection.c
+++ b/gst-libs/gst/rtsp/gstrtspconnection.c
@@ -283,6 +283,7 @@ gst_rtsp_connection_create (const GstRTSPUrl * url, GstRTSPConnection ** conn)
newconn->fd1.fd = -1;
newconn->timer = g_timer_new ();
newconn->timeout = 60;
+ newconn->cseq = 1;
newconn->auth_method = GST_RTSP_AUTH_NONE;
newconn->username = NULL;
More information about the Gstreamer-commits
mailing list