diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-10-25 12:04:45 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-10-25 12:04:45 +0000 |
commit | 2df45f784f45a7d6b3c7a30bc45c3a0616dc9209 (patch) | |
tree | 396440884cdb5fd89d7df7980d09a1cbfe01882e /firmware/mpeg.c | |
parent | bf58c7dca513487afadf3bfed016d318773f1cce (diff) |
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
Diffstat (limited to 'firmware/mpeg.c')
-rw-r--r-- | firmware/mpeg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c index 7969d5970b..37539ff036 100644 --- a/firmware/mpeg.c +++ b/firmware/mpeg.c @@ -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); } |