changeset 29029:c9db53414b53

Add support for mmsh:// as alias for mmshttp:// Patch by Francesco Cosoleto [cosoleto gmail com]
author reimar
date Thu, 26 Mar 2009 11:00:04 +0000
parents f8db50af4035
children e707a0bb19ec
files stream/asf_streaming.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/stream/asf_streaming.c	Thu Mar 26 01:30:10 2009 +0000
+++ b/stream/asf_streaming.c	Thu Mar 26 11:00:04 2009 +0000
@@ -84,7 +84,8 @@
 
     //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 @@
   "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
 };