From a2be6012e5349ce81ed0b779abf650600e346185 Mon Sep 17 00:00:00 2001 From: mosu Date: Sat, 1 Nov 2003 14:10:32 +0000 Subject: [PATCH] Accept video/x-ms-asf as the MIME type for ASF as well. Patch by Dominique Andre Gunia . git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11350 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/asf_streaming.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libmpdemux/asf_streaming.c b/libmpdemux/asf_streaming.c index 86e178ac33..879d693d15 100644 --- a/libmpdemux/asf_streaming.c +++ b/libmpdemux/asf_streaming.c @@ -421,7 +421,8 @@ asf_http_streaming_type(char *content_type, char *features, HTTP_header_t *http_ 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");