From 127480e66054bcceda3397a4c29742846811135a Mon Sep 17 00:00:00 2001 From: reimar Date: Thu, 26 Mar 2009 11:00:04 +0000 Subject: [PATCH] Add support for mmsh:// as alias for mmshttp:// Patch by Francesco Cosoleto [cosoleto gmail com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29064 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/asf_streaming.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/stream/asf_streaming.c b/stream/asf_streaming.c index 64a8152ee3..3057f06c05 100644 --- a/stream/asf_streaming.c +++ b/stream/asf_streaming.c @@ -84,7 +84,8 @@ static int asf_streaming_start( stream_t *stream, int *demuxer_type) { //Is protocol http, http_proxy, or mms? if (!strcasecmp(proto, "http_proxy") || !strcasecmp(proto, "http") || - !strcasecmp(proto, "mms") || !strcasecmp(proto, "mmshttp")) + !strcasecmp(proto, "mms") || !strcasecmp(proto, "mmsh") || + !strcasecmp(proto, "mmshttp")) { mp_msg(MSGT_NETWORK,MSGL_V,"Trying ASF/HTTP...\n"); fd = asf_http_streaming_start( stream, demuxer_type ); @@ -847,7 +848,7 @@ const stream_info_t stream_info_asf = { "Bertrand, Reimar Doeffinger, Albeu", "originally based on work by Majormms (is that code still there?)", open_s, - {"mms", "mmsu", "mmst", "http", "http_proxy", "mmshttp", NULL}, + {"mms", "mmsu", "mmst", "http", "http_proxy", "mmsh", "mmshttp", NULL}, NULL, 0 // Urls are an option string };