[vlc-devel] commit: Make icecast server detection more robust. (Laurent Aimar )
git version control
git at videolan.org
Wed Nov 19 20:24:42 CET 2008
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed Nov 19 20:22:01 2008 +0100| [b35ccb11b7fc6301e1622f9c1621fdc396ddaf95] | committer: Laurent Aimar
Make icecast server detection more robust.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b35ccb11b7fc6301e1622f9c1621fdc396ddaf95
---
modules/access/http.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/access/http.c b/modules/access/http.c
index b50dc5a..4d78ac0 100644
--- a/modules/access/http.c
+++ b/modules/access/http.c
@@ -1410,6 +1410,8 @@ static int Request( access_t *p_access, int64_t i_tell )
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 )
+ p_sys->b_icecast = true;
msg_Warn( p_access, "ICY metaint=%d", p_sys->i_icy_meta );
}
More information about the vlc-devel
mailing list