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 | |
parent | bf58c7dca513487afadf3bfed016d318773f1cce (diff) | |
download | rockbox-2df45f784f45a7d6b3c7a30bc45c3a0616dc9209.tar.gz rockbox-2df45f784f45a7d6b3c7a30bc45c3a0616dc9209.zip |
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')
-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) | |||
2418 | 2418 | ||
2419 | /* Store the current time */ | 2419 | /* Store the current time */ |
2420 | record_start_time = current_tick; | 2420 | record_start_time = current_tick; |
2421 | if(paused) | ||
2422 | pause_start_time = record_start_time; | ||
2421 | 2423 | ||
2422 | queue_post(&mpeg_queue, MPEG_NEW_FILE, NULL); | 2424 | queue_post(&mpeg_queue, MPEG_NEW_FILE, NULL); |
2423 | } | 2425 | } |