[vlc-devel] Re: [PATCH] http-access connection default seekable

Ilkka Ollakka ilkka.ollakka+vlc at oamk.fi
Thu May 24 10:12:22 CEST 2007


On to 24. toukokuuta 2007 09:51:27, Jean-Paul Saman wrote:
> Ilkka Ollakka wrote:
> >Hello,
> >
> >Included another one-liner that sets b_seekable = VLC_TRUE on Connect,
> >because if servers requires authentication (401) seekable is set to
> >false and didn't change even if succesfully response could be seeked.
> 
> Seekable should be set upon media capabilities of the stream. I am not 
> sure setting it to true by default works for other media types or server 
> capabilities too. Maybe the author of the http access plugin knows?

connection sets that seekable to false if return code is anything else
than 206 from http-server, and it defaults to true if connect doesnt'
change it. But following scenario:

default = seekable true
http request -> 401 auth (seekable to false)
http req w/auth -> 206 OK (seekable would stay true if there wouldn't be
that 401 earlier)

-- 
Ilkka Ollakka
Lockwood's Long Shot:
	The chances of getting eaten up by a lion on Main Street aren't
one in a million, but once would be enough.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070524/f6458bdd/attachment.sig>


More information about the vlc-devel mailing list