diff options
-rw-r--r-- | firmware/mpeg.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c index 1c2522a9a1..099d295b0a 100644 --- a/firmware/mpeg.c +++ b/firmware/mpeg.c | |||
@@ -1107,10 +1107,12 @@ static void mpeg_thread(void) | |||
1107 | play_pending = false; | 1107 | play_pending = false; |
1108 | playing = true; | 1108 | playing = true; |
1109 | 1109 | ||
1110 | last_dma_tick = current_tick; | ||
1111 | init_dma(); | 1110 | init_dma(); |
1112 | if (!paused) | 1111 | if (!paused) |
1112 | { | ||
1113 | last_dma_tick = current_tick; | ||
1113 | start_dma(); | 1114 | start_dma(); |
1115 | } | ||
1114 | 1116 | ||
1115 | /* Tell ourselves that we need more data */ | 1117 | /* Tell ourselves that we need more data */ |
1116 | queue_post(&mpeg_queue, MPEG_NEED_DATA, 0); | 1118 | queue_post(&mpeg_queue, MPEG_NEED_DATA, 0); |