rtspwms: fix condition to detect extension commands for WMS
authorJosep Torra <n770galaxy@gmail.com>
Sat, 18 Apr 2009 06:12:08 +0000 (08:12 +0200)
committerJosep Torra <n770galaxy@gmail.com>
Sat, 18 Apr 2009 06:12:08 +0000 (08:12 +0200)
Reply with OK to the extension commands for WMS.

gst/asfdemux/gstrtspwms.c

index e15fa9a090fb3a5811c73803998298899b63e6a3..b30a1c659cd5e1c26b2b5d79ad620973d429dff6 100644 (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,
           &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 */
 
         /* default implementation, send OK */