From 2df45f784f45a7d6b3c7a30bc45c3a0616dc9209 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Mon, 25 Oct 2004 12:04:45 +0000 Subject: 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 --- firmware/mpeg.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'firmware/mpeg.c') 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); } -- cgit v1.2.3