diff options
author | Max Kellermann <max@duempel.org> | 2009-02-26 22:21:35 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-02-26 22:21:35 +0100 |
commit | bcdf947afcccf80fe658a894d14fce3777cd8fe6 (patch) | |
tree | 85c7395a6ba9e8c4b44debdd23b090eddf7465ef /src | |
parent | 9e61c0503eaf385bc4cc6fb3f1702a163bb29cea (diff) | |
download | mpd-bcdf947afcccf80fe658a894d14fce3777cd8fe6.tar.gz mpd-bcdf947afcccf80fe658a894d14fce3777cd8fe6.tar.xz mpd-bcdf947afcccf80fe658a894d14fce3777cd8fe6.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/player_thread.c | 5 |
1 files changed, 0 insertions, 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; |