mirror of
https://github.com/mpv-player/mpv
synced 2025-01-31 04:02:06 +00:00
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
This commit is contained in:
parent
ba10a2856a
commit
a2be6012e5
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user