[MPlayer-dev-eng] Re: [PATCH] Seek in http-streams

Valentine Zaretsky valik+mplayerdev at email.dp.ua
Mon Jan 26 12:08:33 CET 2004


Hi!

Alban Bedel wrote:

>>On Wed, 21 Jan 2004 15:24:46 +0200
>>Valentine Zaretsky <valik+mplayerdev at email.dp.ua> wrote:
>>    
>>
>>>You are right, http_send_request2 is odd.
>>>I've removed it in attached patch.
>>>      
>>>
>>Any comments on this patch ?
>>    
>>
>
>Yes, the parts wich replace demux->stream->type!=STREAMTYPE_STREAM
>with (demux->stream->type!=STREAMTYPE_STREAM || demux->stream->seek).
>Using demux->stream->seek only should be enouth and better. Bcs using
>stream type to determine if a stream is seekable just plain suck.
>
>  
>
Ok. Now I replaced (demux->stream->type!=STREAMTYPE_STREAM) with  
(demux->stream->flags & STREAM_SEEK).
Even better, IMHO.
Everything else is OK now?

-- 
Best regards, Valentine

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: http-patch4
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040126/f0df7be4/attachment.txt>


More information about the MPlayer-dev-eng mailing list