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.
This commit is contained in:
parent
9e61c0503e
commit
bcdf947afc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user