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

Jean-Paul Saman jean-paul.saman at planet.nl
Thu May 24 09:51:27 CEST 2007


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?

> There seems to be some problem do decode mp4-files from http is seekable
> is false.

That is strange.

> ------------------------------------------------------------------------
> 
> Index: modules/access/http.c
> ===================================================================
> --- modules/access/http.c	(revision 20202)
> +++ modules/access/http.c	(working copy)
> @@ -789,6 +789,7 @@
>      p_sys->psz_icy_name = NULL;
>      p_sys->psz_icy_genre = NULL;
>      p_sys->psz_icy_title = NULL;
> +    p_sys->b_seekable = VLC_TRUE;
>  
>      p_access->info.i_size = 0;
>      p_access->info.i_pos  = i_tell;

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list