diff --git a/gst-libs/gst/rtsp/gstrtspdefs.c b/gst-libs/gst/rtsp/gstrtspdefs.c index dd20e1cb13..8e4bf7b5ff 100644 --- a/gst-libs/gst/rtsp/gstrtspdefs.c +++ b/gst-libs/gst/rtsp/gstrtspdefs.c @@ -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 }; diff --git a/gst-libs/gst/rtsp/gstrtspdefs.h b/gst-libs/gst/rtsp/gstrtspdefs.h index 8307212547..f1288137b5 100644 --- a/gst-libs/gst/rtsp/gstrtspdefs.h +++ b/gst-libs/gst/rtsp/gstrtspdefs.h @@ -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; /**