aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decode.c2
-rw-r--r--src/inputStream_http.c2
-rw-r--r--src/outputBuffer.c7
3 files changed, 0 insertions, 11 deletions
diff --git a/src/decode.c b/src/decode.c
index 1ed2c00ee..267616f91 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -395,7 +395,6 @@ void handleMetadata(OutputBuffer * cb, PlayerControl * pc, int * previous,
int meta = cb->metaChunk[cb->begin];
if( meta != *previous ) {
if( meta >= 0 && cb->metaChunkSet[meta]) {
- printf("METADATA!, copying it.\n");
memcpy(currentChunk,
cb->metadataChunks+meta,
sizeof(MetadataChunk));
@@ -408,7 +407,6 @@ void handleMetadata(OutputBuffer * cb, PlayerControl * pc, int * previous,
if(!(*currentChunkSent) && pc->metadataState ==
PLAYER_METADATA_STATE_WRITE)
{
- printf("copy metadata to player\n");
*currentChunkSent = 1;
memcpy(&(pc->metadataChunk), currentChunk,
sizeof(MetadataChunk));
diff --git a/src/inputStream_http.c b/src/inputStream_http.c
index a7bdf295f..1ac5f3bfb 100644
--- a/src/inputStream_http.c
+++ b/src/inputStream_http.c
@@ -368,7 +368,6 @@ static int getHTTPHello(InputStream * inStream) {
}
else if(0 == strncmp(cur, "\r\nicy-metaint:", 14)) {
data->icyMetaint = atoi(cur+14);
- printf("icyMetaint: %i\n", data->icyMetaint);
}
else if(0 == strncmp(cur, "\r\nicy-name:", 11)) {
int incr = 11;
@@ -461,7 +460,6 @@ static void parseIcyMetadata(InputStream * inStream, char * metadata,
while(s) {
if(0 == strncmp(s, "StreamTitle=", 12)) {
int cur = 12;
- printf("StreamTitle: %s\n", s+cur);
if(inStream->metaTitle) free(inStream->metaTitle);
if(*(s+cur) == '\'') cur++;
if(s[strlen(s)-1] == '\'') {
diff --git a/src/outputBuffer.c b/src/outputBuffer.c
index 606f231fc..40777db3b 100644
--- a/src/outputBuffer.c
+++ b/src/outputBuffer.c
@@ -149,8 +149,6 @@ int copyMpdTagToOutputBuffer(OutputBuffer * cb, MpdTag * tag) {
int nextChunk;
static MpdTag * last = NULL;
- printf("copyMpdTagToOB called\n");
-
if(!cb->acceptMetadata || !tag) {
sendMetaChunk = 0;
if(last) free(last);
@@ -158,10 +156,7 @@ int copyMpdTagToOutputBuffer(OutputBuffer * cb, MpdTag * tag) {
return 0;
}
- if(!last) printf("OH SHIT\n");
-
if(last && mpdTagsAreEqual(last, tag)) {
- printf("same as last\n");
return 0;
}
@@ -178,8 +173,6 @@ int copyMpdTagToOutputBuffer(OutputBuffer * cb, MpdTag * tag) {
last = mpdTagDup(tag);
- printMpdTag(stdout, last);
-
copyMpdTagToMetadataChunk(tag, &(cb->metadataChunks[currentMetaChunk]));
cb->metaChunkSet[nextChunk] = 1;