changeset 11349:786407b1bc78

Accept video/x-ms-asf as the MIME type for ASF as well. Patch by Dominique Andre Gunia <Dominique.Gunia@schunter.etc.tu-bs.de>.
author mosu
date Sat, 01 Nov 2003 14:10:32 +0000
parents e740b4a7a194
children 007ec48cf146
files libmpdemux/asf_streaming.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/asf_streaming.c	Fri Oct 31 23:00:45 2003 +0000
+++ b/libmpdemux/asf_streaming.c	Sat Nov 01 14:10:32 2003 +0000
@@ -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");