diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-03-26 11:00:04 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-03-26 11:00:04 +0000 |
commit | 127480e66054bcceda3397a4c29742846811135a (patch) | |
tree | cfc1be7928b3552e23331489152cd37642769af4 /stream | |
parent | ab921d2cb62bb4b9cbfc0eed2ec532467d087964 (diff) |
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
Diffstat (limited to 'stream')
-rw-r--r-- | stream/asf_streaming.c | 5 |
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 }; |