From b8f6429198a92ce7f9eacf085740286aa6b24b09 Mon Sep 17 00:00:00 2001 From: Karl Heyes Date: Mon, 6 Jun 2005 15:39:26 +0000 Subject: [PATCH] send StreamTitle in the initial metadata block, if not real/helix has trouble with playback svn path=/icecast/trunk/icecast/; revision=9376 --- src/format_mp3.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/format_mp3.c b/src/format_mp3.c index 17c4d8ea..0d03a62f 100644 --- a/src/format_mp3.c +++ b/src/format_mp3.c @@ -104,9 +104,8 @@ int format_mp3_get_plugin (source_t *source) /* 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;