forked from len0rd/rockbox
Only reset resume settings when we're really at the end of the playlist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9867 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f67a942c60
commit
7033baea5e
1 changed files with 2 additions and 1 deletions
|
|
@ -1817,7 +1817,8 @@ static void audio_stop_playback(void)
|
|||
if (playing)
|
||||
{
|
||||
/* Save the current playing spot, or NULL if the playlist has ended */
|
||||
playlist_update_resume_info(playlist_end?NULL:audio_current_track());
|
||||
playlist_update_resume_info(
|
||||
(playlist_end && ci.stop_codec)?NULL:audio_current_track());
|
||||
}
|
||||
filebufused = 0;
|
||||
playing = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue