forked from len0rd/rockbox
Playlists forget to set playlist.started when creating new playlist on SWCODEC and which leads to flush-and-rebuffer messages never being sent again until playback is restarted.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29697 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
59e37cbccb
commit
d5849e0d30
1 changed files with 7 additions and 2 deletions
|
|
@ -624,7 +624,9 @@ static int create_and_play_dir(int direction, bool play_last)
|
|||
else
|
||||
index = 0;
|
||||
|
||||
#if (CONFIG_CODEC != SWCODEC)
|
||||
#if (CONFIG_CODEC == SWCODEC)
|
||||
current_playlist.started = true;
|
||||
#else
|
||||
playlist_start(index, 0);
|
||||
#endif
|
||||
}
|
||||
|
|
@ -2558,7 +2560,10 @@ int playlist_next(int steps)
|
|||
playlist->first_index = 0;
|
||||
sort_playlist(playlist, false, false);
|
||||
randomise_playlist(playlist, current_tick, false, true);
|
||||
#if CONFIG_CODEC != SWCODEC
|
||||
|
||||
#if CONFIG_CODEC == SWCODEC
|
||||
playlist->started = true;
|
||||
#else
|
||||
playlist_start(0, 0);
|
||||
#endif
|
||||
playlist->index = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue