gst-libs/gst/rtsp/gstrtspdefs.*: Add Location header so that we can start implementing redirects.

Original commit message from CVS:
* gst-libs/gst/rtsp/gstrtspdefs.c: (rtsp_init_status):
* gst-libs/gst/rtsp/gstrtspdefs.h:
Add Location header so that we can start implementing redirects.
See #506025.
This commit is contained in:
Wim Taymans 2007-12-30 19:21:16 +00:00
parent b3739a8e7d
commit db8c746760
3 changed files with 14 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2007-12-30 Wim Taymans <wim.taymans@collabora.co.uk>
* gst-libs/gst/rtsp/gstrtspdefs.c: (rtsp_init_status):
* gst-libs/gst/rtsp/gstrtspdefs.h:
Add Location header so that we can start implementing redirects.
See #506025.
2007-12-29 Thijs Vermeir <thijsvermeir@gmail.com>
* gst/subparse/gstssaparse.c:

View file

@ -156,6 +156,8 @@ static const gchar *rtsp_headers[] = {
"Language", /* Language */
"PlayerStarttime", /* PlayerStarttime */
"Location", /* Location */
NULL
};
@ -173,7 +175,7 @@ rtsp_init_status (void)
DEF_STATUS (GST_RTSP_STS_LOW_ON_STORAGE, "Low on Storage Space");
DEF_STATUS (GST_RTSP_STS_MULTIPLE_CHOICES, "Multiple Choices");
DEF_STATUS (GST_RTSP_STS_MOVED_PERMANENTLY, "Moved Permanently");
DEF_STATUS (GST_RTSP_STS_MOVE_TEMPORARILY, "Moved Temporarily");
DEF_STATUS (GST_RTSP_STS_MOVE_TEMPORARILY, "Move Temporarily");
DEF_STATUS (GST_RTSP_STS_SEE_OTHER, "See Other");
DEF_STATUS (GST_RTSP_STS_NOT_MODIFIED, "Not Modified");
DEF_STATUS (GST_RTSP_STS_USE_PROXY, "Use Proxy");

View file

@ -277,6 +277,10 @@ typedef enum {
GST_RTSP_HDR_MAX_ASM_WIDTH, /* SupportsMaximumASMBandwidth */
GST_RTSP_HDR_LANGUAGE, /* Language */
GST_RTSP_HDR_PLAYER_START_TIME, /* PlayerStarttime */
/* Since 0.10.16 */
GST_RTSP_HDR_LOCATION /* Location */
} GstRTSPHeaderField;
typedef enum {