[MPlayer-dev-eng] [PATCH] make multi-stream mms-over-http work (-bandwidth option)

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sat Dec 25 12:32:40 CET 2004


Hi,
> currently MPlayer can only play the lowest-quality streams in many asf
> files. This is caused because MPlayer scans only the "top level" of the
> properties-tree in the asf header, thus only detecting the lowres
> streams.
> The attached patch fixes this by simply brute-force scanning the whole
> header for the appropriate guids - this seems the simplest and most
> sensible approach to me (why do people always want such complicated
> structures/parsers when like in a video container it's completely useless?).
> In addition I also modified the networking code so that it tries to make
> a sensible decision which streams to select (based on -bandwidth
> setting) and modified the request it sends to the server (some servers just send the default streams when e.g. you send it more that two things in the stream-switch-entry= ).
> Now the most important thing is testing, so if you have any asf files or
> know any internet streams, please test it on them.
> I know this patch changes a lot of code, but I didn't see any way to
> make it smaller :-(.
> Tell me what you think of this patch, and especially when would be a
> good time to apply it (before the release (btw. when is that going to
> be? ;-) ) or after or whatever).

Applied with minor change (INT_MAX needs limits.h).

Greetings,
Reimar Döffinger




More information about the MPlayer-dev-eng mailing list