summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-03-26 11:00:04 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-03-26 11:00:04 +0000
commit127480e66054bcceda3397a4c29742846811135a (patch)
treecfc1be7928b3552e23331489152cd37642769af4
parentab921d2cb62bb4b9cbfc0eed2ec532467d087964 (diff)
downloadmpv-127480e66054bcceda3397a4c29742846811135a.tar.bz2
mpv-127480e66054bcceda3397a4c29742846811135a.tar.xz
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
-rw-r--r--stream/asf_streaming.c5
1 files 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
};