[vlc-devel] [PATCH] Handle icecast streams within a stream filter module
Rémi Denis-Courmont
remi at remlab.net
Fri Mar 4 17:33:16 CET 2016
Le 2016-03-04 17:54, Ludovic Fauvet a écrit :
> @@ -231,6 +231,9 @@ static int Open( vlc_object_t *p_this )
> p_sys->size = 0;
> p_access->info.b_eof = false;
>
> + var_Create(p_access->p_input, "icy-metaint", VLC_VAR_INTEGER);
> + p_sys->b_icy_enabled = module_exists("icy");
> +
> /* Only forward an store cookies if the corresponding option is
> activated */
> if( var_CreateGetBool( p_access, "http-forward-cookies" ) )
> p_sys->cookies = GetCookieJar( p_this );
This will break if there are more than one access under the input (e.g.
slave, or stream_Url*).
Fun stuff like #3278, #5239.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list