From bcdf947afcccf80fe658a894d14fce3777cd8fe6 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 26 Feb 2009 22:21:35 +0100 Subject: player_thread: removed meaningless warning on output failure The warning message "problems opening audio device while playing ..." does not help at all, and should be removed. At this point, the real error message has already been logged by the output thread. --- src/player_thread.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/player_thread.c b/src/player_thread.c index 83e412048..24942fbfd 100644 --- a/src/player_thread.c +++ b/src/player_thread.c @@ -188,11 +188,6 @@ static void player_process_command(struct player *player) if (audio_output_all_open(NULL)) { pc.state = PLAYER_STATE_PLAY; } else { - char *uri = song_get_uri(dc.next_song); - g_warning("problems opening audio device " - "while playing \"%s\"", uri); - g_free(uri); - assert(dc.next_song == NULL || dc.next_song->url != NULL); pc.errored_song = dc.next_song; pc.error = PLAYER_ERROR_AUDIO; -- cgit v1.2.3