summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2022-01-05 18:28:01 +0100
committerChristian Soffke <christian.soffke@gmail.com>2022-01-05 18:28:06 +0100
commit131497d78699c96c5d7b083cee4a980b090df409 (patch)
treee00d6dfd9d7b8633f20f1b088a86b4255e89ad43 /apps
parentea738e03d0b47d64efddb6ddbff0062215e9559a (diff)
downloadrockbox-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.c4
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;