diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2022-01-05 18:28:01 +0100 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2022-01-05 18:28:06 +0100 |
commit | 131497d78699c96c5d7b083cee4a980b090df409 (patch) | |
tree | e00d6dfd9d7b8633f20f1b088a86b4255e89ad43 /apps | |
parent | ea738e03d0b47d64efddb6ddbff0062215e9559a (diff) | |
download | rockbox-131497d78699c96c5d7b083cee4a980b090df409.tar.gz rockbox-131497d78699c96c5d7b083cee4a980b090df409.zip |
PictureFlow: Don't sync playlist after every file
Since we manually do it later, syncing after every
file is unnecessary and can make the audio
queue overflow
Change-Id: Ia7ab6ee345b25a453c56f48ed0d330b04da6da94
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/pictureflow/pictureflow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c index b1162597f2..bee1f580f7 100644 --- a/apps/plugins/pictureflow/pictureflow.c +++ b/apps/plugins/pictureflow/pictureflow.c @@ -3679,14 +3679,14 @@ static bool playlist_insert(int position, bool queue, bool create_new) if (!insert_whole_album) rb->playlist_insert_track(NULL, get_track_filename(pf_tracks.sel), - position, queue, true); + position, queue, false); else { int i = 0; do { rb->yield(); if (rb->playlist_insert_track(NULL, get_track_filename(i), - position, queue, true) < 0) + position, queue, false) < 0) break; if (position == PLAYLIST_INSERT_FIRST) position = PLAYLIST_INSERT; |