Commit fcb820b3 authored by François Cartegnie's avatar François Cartegnie 🤞 Committed by Jean-Baptiste Kempf

access: http: set min icy meta interval

worst case is 2, 50% bw waste with 0 bytes of meta and
>99.97% with max metadata.
1 is nonsense and would just mean no data stream.

(cherry picked from commit d88d7109)
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 35a3bd5b
......@@ -897,7 +897,7 @@ static int Connect( stream_t *p_access )
p_sys->i_icy_meta = atoi( p );
if( p_sys->i_icy_meta < 0 )
p_sys->i_icy_meta = 0;
if( p_sys->i_icy_meta > 0 )
if( p_sys->i_icy_meta > 1 )
{
p_sys->i_icy_offset = p_sys->i_icy_meta;
p_sys->b_icecast = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment