diff options
author | Max Kellermann <max@duempel.org> | 2009-11-03 20:01:19 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-11-03 20:01:19 +0100 |
commit | bfa7da943c2ee90ca84664ce0d97b77ed27311f9 (patch) | |
tree | e06d703f547ec2dc646a9934427b1f19d9f159d9 | |
parent | 734676fcfb73061917f0db726f5e3e897b2dd8c6 (diff) | |
download | mpd-bfa7da943c2ee90ca84664ce0d97b77ed27311f9.tar.gz mpd-bfa7da943c2ee90ca84664ce0d97b77ed27311f9.tar.xz mpd-bfa7da943c2ee90ca84664ce0d97b77ed27311f9.zip |
player_thread: don't set errored_song on audio error
It's not used if pc.error==PLAYER_ERROR_AUDIO.
Diffstat (limited to '')
-rw-r--r-- | src/player_thread.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/player_thread.c b/src/player_thread.c index e8470c827..e648ab375 100644 --- a/src/player_thread.c +++ b/src/player_thread.c @@ -243,7 +243,6 @@ player_check_decoder_startup(struct player *player) g_free(uri); assert(dc->next_song == NULL || dc->next_song->uri != NULL); - pc.errored_song = dc->next_song; pc.error = PLAYER_ERROR_AUDIO; /* pause: the user may resume playback as soon @@ -435,7 +434,6 @@ static void player_process_command(struct player *player) /* the audio device has failed - rollback to pause mode */ assert(dc->next_song == NULL || dc->next_song->uri != NULL); - pc.errored_song = dc->next_song; pc.error = PLAYER_ERROR_AUDIO; player->paused = true; |