[xiph-commits] r9376 - icecast/trunk/icecast/src

karl at motherfish-iii.xiph.org karl at motherfish-iii.xiph.org
Mon Jun 6 08:39:29 PDT 2005


Author: karl
Date: 2005-06-06 08:39:26 -0700 (Mon, 06 Jun 2005)
New Revision: 9376

Modified:
   icecast/trunk/icecast/src/format_mp3.c
Log:
send StreamTitle in the initial metadata block, if not real/helix has
trouble with playback


Modified: icecast/trunk/icecast/src/format_mp3.c
===================================================================
--- icecast/trunk/icecast/src/format_mp3.c	2005-06-06 13:37:04 UTC (rev 9375)
+++ icecast/trunk/icecast/src/format_mp3.c	2005-06-06 15:39:26 UTC (rev 9376)
@@ -104,9 +104,8 @@
 
     /* initial metadata needs to be blank for sending to clients and for
        comparing with new metadata */
-    meta = refbuf_new (2);
-    memcpy (meta->data, "\0\0", 2);
-    meta->len = 1;
+    meta = refbuf_new (17);
+    memcpy (meta->data, "\001StreamTitle='';", 17);
     state->metadata = meta;
     state->interval = -1;
 



More information about the commits mailing list