summaryrefslogtreecommitdiff
path: root/firmware/mpeg.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-10-25 12:04:45 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-10-25 12:04:45 +0000
commit2df45f784f45a7d6b3c7a30bc45c3a0616dc9209 (patch)
tree396440884cdb5fd89d7df7980d09a1cbfe01882e /firmware/mpeg.c
parentbf58c7dca513487afadf3bfed016d318773f1cce (diff)
downloadrockbox-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/mpeg.c')
-rw-r--r--firmware/mpeg.c2
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}