1
0
Fork 0
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:
Hardeep Sidhu 2006-05-03 15:54:08 +00:00
parent f67a942c60
commit 7033baea5e

View file

@ -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;