diff options
-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 346c115d18..10316b93fb 100644 --- a/firmware/mpeg.c +++ b/firmware/mpeg.c | |||
@@ -1734,6 +1734,7 @@ static void mpeg_thread(void) | |||
1734 | time to stop for real */ | 1734 | time to stop for real */ |
1735 | if(stop_pending) | 1735 | if(stop_pending) |
1736 | queue_post(&mpeg_queue, MPEG_STOP_DONE, 0); | 1736 | queue_post(&mpeg_queue, MPEG_STOP_DONE, 0); |
1737 | saving = false; | ||
1737 | } | 1738 | } |
1738 | break; | 1739 | break; |
1739 | 1740 | ||
@@ -1980,6 +1981,7 @@ void mpeg_record(char *filename) | |||
1980 | static void start_recording(void) | 1981 | static void start_recording(void) |
1981 | { | 1982 | { |
1982 | stop_pending = false; | 1983 | stop_pending = false; |
1984 | saving = false; | ||
1983 | } | 1985 | } |
1984 | 1986 | ||
1985 | unsigned long mpeg_num_recorded_frames(void) | 1987 | unsigned long mpeg_num_recorded_frames(void) |