[Mplayer-advusers] mplayer thinks url is redirector?

Diego Biurrun diego at biurrun.de
Tue Oct 12 13:40:27 CEST 2004


Reimar Döffinger writes:
> 
> >>>http://gaudi.enstb.org/webfolder/index.py?id=3&cookie=toto
> >>>
> >>>mplayer tries to parse this as a playlist, wget downloads it fine
> >>>
> >>>please fix :)
> >>
> >>This fixes it, but no idea what it will break...
> >>
> >>--- libmpdemux/asf_streaming.c	21 Jul 2004 10:18:29 -0000	1.49
> >>+++ libmpdemux/asf_streaming.c	11 Oct 2004 19:38:01 -0000
> >>@@ -427,6 +427,7 @@
> >> 	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-wmv") ||
> >> 		!strcasecmp(content_type, "video/x-ms-asf")) {               
> > 
> > MPlayer does not hang anymore with the patch applied, but playback
> > does not start either, all demuxers fail.  Does this work for anyone?
> 
> It worked yesterday, but it seems the video isn't available anymore... 
> (open in a webbrowser to see what I mean).

OK.  Anyway, it looks trivial and correct, so you might want to let
users test this ;)

Diego




More information about the MPlayer-advusers mailing list