[MPlayer-dev-eng] [PATCH] Fix interpretation of Accept-Ranges http header to match the RFC

Alexander Kanavin alexander.kanavin at nokia.com
Fri Jul 11 15:19:02 CEST 2008


ext Reimar Döffinger wrote:
> On Thu, Jul 10, 2008 at 08:19:18PM +0300, Alexander Kanavin wrote:
>> playback of some files (mp4, mov, mp3) requires seeking to the end of file 
> 
> Only reading the ID3 tag requires seeking for mp3, and that is exactly
> the case that your patch seems likely to break.

How so? Can you explain?

> Though anyway this would better be reworked to actually try seeking
> (preferably in a way that does not cause more performance problems)
> since some servers seem to send Accept-Range but actually fail to seek.

I think it's possible to just add a http_test_seek() function (based on 
http_seek() but simpler) and call that after parsing Content-Length in 
http_streaming_start(). I'll write a patch for this.

Alex



More information about the MPlayer-dev-eng mailing list