[MPlayer-dev-eng] [PATCH] update asf fetch types to follow new order

Roberto Togni r_togni at tiscali.it
Tue Jun 1 00:49:01 CEST 2004


On 2004.04.28 01:22, adland wrote:
> file: libmpdemux/asf_streaming.c
> 
> Intention:
> Patch to fix the order of asf fetch attempts to
> match the Windows media player and order which is
> requested. it is a performance enhancment I believe.
> This has been mentioned a couple of times on this
> list.
> 
> check if protocol valid
> (mms,mmsu,mmst,http,http_proxy)
> print message and return if not
> 
> then if protocol okay
> fetch order (depending on protocol used)
> 1. mmsu (not implemented yet - only if protocol mms or
> mmsu - stubbed)
> 2. mmst (only if protocol mms or mmst)
> 3. http (only if protocol mms, http, or http_proxy)
> 
> if opening failed for all then
> return failure
> 
> please consider this patch
> 
> thanks
>
Attached a cleaned version that avoid changing unmodified lines and  
fixes fd init.
Please test, if noone will complain with sample urls that fail with the  
patch but work without it i'll apply it.

Ciao,
 Roberto

-------------- next part --------------
A non-text attachment was scrubbed...
Name: asf_streaming.c.diff
Type: text/x-patch
Size: 3759 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040601/5509b49b/attachment.bin>


More information about the MPlayer-dev-eng mailing list