From 0d3d3026d2a1627a30e65c8e8dfba2a0304ff2d5 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 25 Mar 2009 16:37:28 +0100 Subject: [PATCH] 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 file changed, 1 insertion(+) diff --git a/gst-libs/gst/rtsp/gstrtspconnection.c b/gst-libs/gst/rtsp/gstrtspconnection.c index fd60a04d4e..6f52ea00c8 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;