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:
parent
bf58c7dca5
commit
2df45f784f
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue