[MPlayer-dev-eng] [PATCH] Make stream support http redirect

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Nov 18 10:58:30 CET 2007


Hello,
On Thu, Nov 08, 2007 at 08:19:05AM -0500, Compn wrote:
> On Thu, 8 Nov 2007 08:40:19 +0100, Reimar Döffinger wrote:
> >On Wed, Nov 07, 2007 at 08:41:34PM -0500, Compn wrote:
> >> On Fri, 2 Nov 2007 17:28:39 +0800, Ulion wrote:
> >> >There's a reported bug
> >> >http://bugzilla.mplayerhq.hu/show_bug.cgi?id=927 The problem is the
> >> >http module of stream will treat all redirect url as http protocol,
> >> >so the redirected mms:// url is handled incorrectly. This patch
> >> >give a chance to handle the redirected url in correct way.
> >> >
> >> >Just try ./mplayer -v http://swr3.streamlocator.de/
> 
> mplayer -playlist http://swr3.streamlocator.de/ works at least.

Which is my problem with this patch, the current behaviours seem best
and most correct to me...
I do not think that without -playlist we should support anything except
http -> http redirects (and even that to some level is questionable,
since the user might think to play a trusted site while in reality it
redirects somewhere else).

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list