summaryrefslogtreecommitdiffstats
path: root/gst/rtsp/rtspextwms.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2007-05-17 14:56:39 +0000
committerWim Taymans <wim.taymans@gmail.com>2007-05-17 14:56:39 +0000
commitccd7a136a92b43a94d3db61565352be0a59e3014 (patch)
treea6e5d4c18a9c831178e39a420d3cde486e3b0a51 /gst/rtsp/rtspextwms.c
parent03897942244788349ef186976c04cb3156498438 (diff)
gst/rtsp/gstrtspsrc.c: Ignore streams that fail the setup command, we will retry with a different transport later on.
Original commit message from CVS: * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send), (gst_rtspsrc_setup_streams): Ignore streams that fail the setup command, we will retry with a different transport later on. * gst/rtsp/rtspextwms.c: (rtsp_ext_wms_parse_sdp), (rtsp_ext_wms_configure_stream): Fix encoding name case.
Diffstat (limited to 'gst/rtsp/rtspextwms.c')
-rw-r--r--gst/rtsp/rtspextwms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/rtsp/rtspextwms.c b/gst/rtsp/rtspextwms.c
index 30e21362..b79a4586 100644
--- a/gst/rtsp/rtspextwms.c
+++ b/gst/rtsp/rtspextwms.c
@@ -127,7 +127,7 @@ rtsp_ext_wms_parse_sdp (RTSPExtensionCtx * ctx, SDPMessage * sdp)
if (maxps)
gst_structure_set (src->props, "maxps", G_TYPE_STRING, maxps, NULL);
- gst_structure_set (src->props, "encoding-name", G_TYPE_STRING, "x-asf-pf",
+ gst_structure_set (src->props, "encoding-name", G_TYPE_STRING, "X-ASF-PF",
NULL);
gst_structure_set (src->props, "media", G_TYPE_STRING, "application", NULL);
@@ -159,7 +159,7 @@ rtsp_ext_wms_configure_stream (RTSPExtensionCtx * ctx, GstRTSPStream * stream)
encoding);
/* rtx streams do not need to be configured */
- if (!strcmp (encoding, "x-wms-rtx"))
+ if (!strcmp (encoding, "X-WMS-RTX"))
return FALSE;
return TRUE;