diff options
author | 2003-11-01 14:10:32 +0000 | |
---|---|---|
committer | 2003-11-01 14:10:32 +0000 | |
commit | a2be6012e5349ce81ed0b779abf650600e346185 (patch) | |
tree | f6f5b4b0fbe214d8b58ee926f554eefcefa4b786 | |
parent | ba10a2856a473077b097e3ee339728d1b520bc94 (diff) |
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>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11350 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpdemux/asf_streaming.c | 3 |
1 files changed, 2 insertions, 1 deletions
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"); |