rtspwms: fix condition to detect extension commands for WMS

Reply with OK to the extension commands for WMS.
This commit is contained in:
Josep Torra 2009-04-18 08:12:08 +02:00
parent 8258daf87c
commit 9cd1fddf15

View File

@ -178,7 +178,7 @@ gst_rtsp_wms_receive_request (GstRTSPExtension * ext, GstRTSPMessage * request)
gst_rtsp_message_get_header (request, GST_RTSP_HDR_CONTENT_TYPE, gst_rtsp_message_get_header (request, GST_RTSP_HDR_CONTENT_TYPE,
&content_type, 0); &content_type, 0);
if (content_type && g_ascii_strcasecmp (content_type, EXTENSION_CMD)) { if (content_type && !g_ascii_strcasecmp (content_type, EXTENSION_CMD)) {
/* parse the command */ /* parse the command */
/* default implementation, send OK */ /* default implementation, send OK */