[MPlayer-cvslog] r29064 - trunk/stream/asf_streaming.c

reimar subversion at mplayerhq.hu
Thu Mar 26 12:00:05 CET 2009


Author: reimar
Date: Thu Mar 26 12:00:04 2009
New Revision: 29064

Log:
Add support for mmsh:// as alias for mmshttp://
Patch by Francesco Cosoleto [cosoleto gmail com]

Modified:
   trunk/stream/asf_streaming.c

Modified: trunk/stream/asf_streaming.c
==============================================================================
--- trunk/stream/asf_streaming.c	Thu Mar 26 02:30:10 2009	(r29063)
+++ trunk/stream/asf_streaming.c	Thu Mar 26 12:00:04 2009	(r29064)
@@ -84,7 +84,8 @@ static int asf_streaming_start( stream_t
 
     //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
 };


More information about the MPlayer-cvslog mailing list