summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHardeep Sidhu <dyp@pobox.com>2006-05-15 02:37:06 +0000
committerHardeep Sidhu <dyp@pobox.com>2006-05-15 02:37:06 +0000
commita8928804e1cd77b427256c1c69e56494fa693c43 (patch)
treed8dfa095fae47c4511c5af9882d78fdaa48d1745
parentc9a11cd3c8b5df9f57d7dafbe61763caf4ef015b (diff)
downloadrockbox-a8928804e1cd77b427256c1c69e56494fa693c43.tar.gz
rockbox-a8928804e1cd77b427256c1c69e56494fa693c43.tar.bz2
rockbox-a8928804e1cd77b427256c1c69e56494fa693c43.zip
Reset playlist_end when automatically skipping. Fixes B#5319.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9929 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/playback.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 203fe8ce4a..8a382c5a2f 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -2007,6 +2007,7 @@ static bool load_next_track(void) {
{
ci.new_track++;
automatic_skip = true;
+ playlist_end = false;
}
cpu_boost(true);
@@ -2030,6 +2031,8 @@ static bool load_next_track(void) {
case Q_CODEC_REQUEST_FAILED:
ci.new_track = 0;
ci.stop_codec = true;
+ if (automatic_skip)
+ playlist_end = true;
return false;
default:
logf("Bad event on ccq");