[xiph-commits] r16439 - icecast/trunk/icecast/src
karl at svn.xiph.org
karl at svn.xiph.org
Wed Aug 5 15:24:04 PDT 2009
Author: karl
Date: 2009-08-05 15:24:04 -0700 (Wed, 05 Aug 2009)
New Revision: 16439
Modified:
icecast/trunk/icecast/src/format_mp3.c
Log:
setting an interval of 0 in mount should disable shoutcast metadata inserts.
Modified: icecast/trunk/icecast/src/format_mp3.c
===================================================================
--- icecast/trunk/icecast/src/format_mp3.c 2009-08-05 22:21:33 UTC (rev 16438)
+++ icecast/trunk/icecast/src/format_mp3.c 2009-08-05 22:24:04 UTC (rev 16439)
@@ -206,12 +206,12 @@
if (mount)
{
- if (mount->mp3_meta_interval > 0)
+ if (mount->mp3_meta_interval >= 0)
source_mp3->interval = mount->mp3_meta_interval;
if (mount->charset)
format->charset = strdup (mount->charset);
}
- if (source_mp3->interval <= 0)
+ if (source_mp3->interval < 0)
{
const char *metadata = httpp_getvar (client->parser, "icy-metaint");
source_mp3->interval = ICY_METADATA_INTERVAL;
More information about the commits
mailing list