[Mplayer-cvslog] CVS: main/libmpdemux asf_streaming.c,1.41,1.42

Moritz Bunkus CVS mosu at mplayerhq.hu
Sat Nov 1 15:11:26 CET 2003


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv27878

Modified Files:
	asf_streaming.c 
Log Message:
Accept video/x-ms-asf as the MIME type for ASF as well. Patch by Dominique Andre Gunia <Dominique.Gunia at schunter.etc.tu-bs.de>.

Index: asf_streaming.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/asf_streaming.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- asf_streaming.c	25 Sep 2003 00:36:04 -0000	1.41
+++ asf_streaming.c	1 Nov 2003 14:10:32 -0000	1.42
@@ -421,7 +421,8 @@
 	if( content_type==NULL ) return ASF_Unknown_e;
 	if( 	!strcasecmp(content_type, "application/octet-stream") ||
 		!strcasecmp(content_type, "application/vnd.ms.wms-hdr.asfv1") ||        // New in Corona, first request
-		!strcasecmp(content_type, "application/x-mms-framed") ) {               // New in Corana, second request
+		!strcasecmp(content_type, "application/x-mms-framed") ||                // New in Corana, second request
+		!strcasecmp(content_type, "video/x-ms-asf")) {               
 
 		if( strstr(features, "broadcast") ) {
 			mp_msg(MSGT_NETWORK,MSGL_V,"=====> ASF Live stream\n");



More information about the MPlayer-cvslog mailing list