diff options
author | Max Kellermann <max@duempel.org> | 2012-08-08 21:44:18 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-08-08 22:28:49 +0200 |
commit | fa84ed412db4cc033989d1b60535dd6207e1ff23 (patch) | |
tree | 0a652bea92db2de7c83fb05a646d06852dc72ef7 /src/playlist.c | |
parent | 16951099d1154bee369aec1437fa85ecb1c3218e (diff) | |
download | mpd-fa84ed412db4cc033989d1b60535dd6207e1ff23.tar.gz mpd-fa84ed412db4cc033989d1b60535dd6207e1ff23.tar.xz mpd-fa84ed412db4cc033989d1b60535dd6207e1ff23.zip |
player_control: remove unused enum player_error values
Diffstat (limited to '')
-rw-r--r-- | src/playlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist.c b/src/playlist.c index 0c9eea92d..d14c26aa7 100644 --- a/src/playlist.c +++ b/src/playlist.c @@ -265,7 +265,7 @@ playlist_resume_playback(struct playlist *playlist, struct player_control *pc) ++playlist->error_count; if ((playlist->stop_on_error && error != PLAYER_ERROR_NOERROR) || - error == PLAYER_ERROR_AUDIO || error == PLAYER_ERROR_SYSTEM || + error == PLAYER_ERROR_AUDIO || playlist->error_count >= queue_length(&playlist->queue)) /* too many errors, or critical error: stop playback */ |