Update pause_start_time when creating new files. Fixes bug report #988839.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5342 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2004-10-25 12:04:45 +00:00
parent bf58c7dca5
commit 2df45f784f

View file

@ -2418,6 +2418,8 @@ void mpeg_new_file(const char *filename)
/* Store the current time */
record_start_time = current_tick;
if(paused)
pause_start_time = record_start_time;
queue_post(&mpeg_queue, MPEG_NEW_FILE, NULL);
}