rtsp: add new defines for tunneling

Add two more result codes for tunneling support.
This commit is contained in:
Wim Taymans 2009-03-04 12:18:00 +01:00
parent 9ea1240910
commit 3b6e9fc870
2 changed files with 7 additions and 1 deletions

View file

@ -83,6 +83,8 @@ static const gchar *rtsp_results[] = {
"Network error: %s",
"Host is not a valid IP address",
"Timeout while waiting for server response",
"Tunnel GET request received",
"Tunnel POST request received",
"Unknown error (%d)",
NULL
};

View file

@ -79,6 +79,8 @@ G_STMT_START { \
* @GST_RTSP_ENOTIP: the host is not an IP host
* @GST_RTSP_ETIMEOUT: a timeout occured
* @GST_RTSP_ELAST: last error
* @GST_RTSP_ETGET: the tunnel GET request has been performed
* @GST_RTSP_ETPOST: the tunnel POST request has been performed
*
* Result codes from the RTSP functions.
*/
@ -99,8 +101,10 @@ typedef enum {
GST_RTSP_ENET = -12,
GST_RTSP_ENOTIP = -13,
GST_RTSP_ETIMEOUT = -14,
GST_RTSP_ETGET = -15,
GST_RTSP_ETPOST = -16,
GST_RTSP_ELAST = -15
GST_RTSP_ELAST = -17
} GstRTSPResult;
/**