From 9cd1fddf15633b34f6d34da34aa83f0aee159d14 Mon Sep 17 00:00:00 2001 From: Josep Torra Date: Sat, 18 Apr 2009 08:12:08 +0200 Subject: [PATCH] rtspwms: fix condition to detect extension commands for WMS Reply with OK to the extension commands for WMS. --- gst/asfdemux/gstrtspwms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/asfdemux/gstrtspwms.c b/gst/asfdemux/gstrtspwms.c index e15fa9a090..b30a1c659c 100644 --- a/gst/asfdemux/gstrtspwms.c +++ b/gst/asfdemux/gstrtspwms.c @@ -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 */