[rtsp] Rollback adding CSeq code
authorGilbok Lee <gilbok.lee@samsung.com>
Fri, 21 Jun 2013 08:39:56 +0000 (17:39 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Fri, 21 Jun 2013 08:45:21 +0000 (17:45 +0900)
Change-Id: I57d606d08d7dcb0844a68399d1ce3c21673d4eca

gst-libs/gst/rtsp/gstrtspconnection.c
packaging/gst-plugins-base.spec

index 28d60e8..a96fb43 100644 (file)
@@ -1408,9 +1408,10 @@ message_to_string (GstRTSPConnection * conn, GstRTSPMessage * message)
   switch (message->type) {
     case GST_RTSP_MESSAGE_REQUEST:
       /* create request string, add CSeq */
-      g_string_append_printf (str, "%s %s RTSP/1.0\r\n",
+      g_string_append_printf (str, "%s %s RTSP/1.0\r\n" 
+      "CSeq: %d\r\n",
       gst_rtsp_method_as_text (message->type_data.request.method),
-      message->type_data.request.uri);
+      message->type_data.request.uri, conn->cseq++);
       /* add session id if we have one */
       if (conn->session_id[0] != '\0') {
         gst_rtsp_message_remove_header (message, GST_RTSP_HDR_SESSION, -1);
index b7166ac..9d5a4a6 100644 (file)
@@ -1,7 +1,7 @@
 Name:       gst-plugins-base
 Summary:    GStreamer streaming media framework base plug-ins
 Version:    0.10.36
-Release:    25
+Release:    26
 Group:      Applications/Multimedia
 License:    LGPLv2+
 Source0:    %{name}-%{version}.tar.gz