[vlc-commits] access: http: set min icy meta interval
Francois Cartegnie
git at videolan.org
Sun Dec 10 12:30:19 CET 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun Dec 10 12:14:38 2017 +0100| [d88d71098775870d8e90fde05990cb2828584d46] | committer: Francois Cartegnie
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.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d88d71098775870d8e90fde05990cb2828584d46
---
modules/access/http.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/http.c b/modules/access/http.c
index e5ce3ecf6b..83a6455d65 100644
--- a/modules/access/http.c
+++ b/modules/access/http.c
@@ -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;
More information about the vlc-commits
mailing list