rtsp: add Timestamp header field
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 16 Jun 2009 16:57:20 +0000 (18:57 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 16 Jun 2009 16:57:20 +0000 (18:57 +0200)
fixes #585994

gst-libs/gst/rtsp/gstrtspdefs.c
gst-libs/gst/rtsp/gstrtspdefs.h

index 8b086e5..890086e 100644 (file)
@@ -184,6 +184,7 @@ static const gchar *rtsp_headers[] = {
   "X-Receding-PlaylistChange",  /* X-Receding-PlaylistChange */
   "X-RTP-Info",                 /* X-RTP-Info */
   "X-StartupProfile",           /* X-StartupProfile */
+  "Timestamp",                  /* Timestamp */
 
   NULL
 };
index 3cb78e1..6b268ea 100644 (file)
@@ -308,7 +308,10 @@ typedef enum {
   GST_RTSP_HDR_X_PROXY_CLIENT_VERB, /* X-Proxy-Client-Verb */
   GST_RTSP_HDR_X_RECEDING_PLAYLISTCHANGE, /* X-Receding-PlaylistChange */
   GST_RTSP_HDR_X_RTP_INFO,          /* X-RTP-Info */
-  GST_RTSP_HDR_X_STARTUPPROFILE     /* X-StartupProfile */
+  GST_RTSP_HDR_X_STARTUPPROFILE,    /* X-StartupProfile */
+
+  /* Since 0.10.24 */
+  GST_RTSP_HDR_TIMESTAMP            /* Timestamp */
 
 } GstRTSPHeaderField;