# HG changeset patch # User Andrew O. Shadoura # Date 1215984459 -10800 # Node ID b17cffd470536f68f7d5c2717b541fd5b62b29bc # Parent ae797b0c21fa0c6b7c964262ebac678e56d27cfc fix time display and playback; don't know why, but playing=0 makes it happy diff -r ae797b0c21fa -r b17cffd47053 src/filewriter/mp3.c --- a/src/filewriter/mp3.c Sun Jul 13 23:28:55 2008 +0300 +++ b/src/filewriter/mp3.c Mon Jul 14 00:27:39 2008 +0300 @@ -203,6 +203,8 @@ static gint mp3_open(void) { + olen = 0; + gfp = lame_init(); if (gfp == NULL) return 0; diff -r ae797b0c21fa -r b17cffd47053 src/icecast/icecast.c --- a/src/icecast/icecast.c Sun Jul 13 23:28:55 2008 +0300 +++ b/src/icecast/icecast.c Mon Jul 14 00:27:39 2008 +0300 @@ -260,10 +260,10 @@ plugin = plugin_new; + rv = (plugin.open)(); + if (!shout) { - rv = (plugin.open)(); - if (!(shout = shout_new())) return 0; @@ -315,9 +315,6 @@ return 0; } } - else - rv = 1; - { shout_metadata_t *sm = NULL; sm = shout_metadata_new(); @@ -489,7 +486,7 @@ static gint ice_playing(void) { - return !paused; + return 0 && !paused; } static gint ice_get_written_time(void)