summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/recorder/recording.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index 96d8fcad94..6c51cf7319 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -126,6 +126,7 @@ bool recording_screen(void)
126 int gain; 126 int gain;
127 int w, h; 127 int w, h;
128 int update_countdown = 1; 128 int update_countdown = 1;
129 bool have_recorded = false;
129 130
130 cursor = 0; 131 cursor = 0;
131 mpeg_init_recording(); 132 mpeg_init_recording();
@@ -168,6 +169,7 @@ bool recording_screen(void)
168 /* Only act if the mpeg is stopped */ 169 /* Only act if the mpeg is stopped */
169 if(!mpeg_status()) 170 if(!mpeg_status())
170 { 171 {
172 have_recorded = true;
171 mpeg_record(""); 173 mpeg_record("");
172 status_set_playmode(STATUS_RECORD); 174 status_set_playmode(STATUS_RECORD);
173 update_countdown = 1; /* Update immediately */ 175 update_countdown = 1; /* Update immediately */
@@ -368,7 +370,7 @@ bool recording_screen(void)
368 370
369 mpeg_init_playback(); 371 mpeg_init_playback();
370 372
371 return false; 373 return have_recorded;
372} 374}
373 375
374bool f2_rec_screen(void) 376bool f2_rec_screen(void)