[PATCH] Re: [MPlayer-dev-eng] Problem with opening URL's

Bernhard Rosenkraenzer bero at arklinux.org
Wed Feb 4 17:45:07 CET 2004


On Tue, 3 Feb 2004, Bill Trenker wrote:

> Is there a configuration option I'm missing to get .asx files to stream
> with the new version of mplayer?

Try the attached patch.

LLaP
bero

-- 
Ark Linux - Linux for the masses
http://www.arklinux.org/

Redistribution and processing of this message is subject to
http://www.arklinux.org/terms.php
-------------- next part --------------
diff -urN mplayer/libmpdemux/asf_streaming.c mplayer-bero/libmpdemux/asf_streaming.c
--- mplayer/libmpdemux/asf_streaming.c	2003-11-02 15:57:34.000000000 +0100
+++ mplayer-bero/libmpdemux/asf_streaming.c	2003-12-03 02:33:29.000000000 +0100
@@ -421,8 +421,7 @@
 	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, "video/x-ms-asf")) {               
+		!strcasecmp(content_type, "application/x-mms-framed") ) {               // New in Corana, second request
 
 		if( strstr(features, "broadcast") ) {
 			mp_msg(MSGT_NETWORK,MSGL_V,"=====> ASF Live stream\n");


More information about the MPlayer-dev-eng mailing list