summaryrefslogtreecommitdiff
path: root/apps/recorder/recording.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/recorder/recording.c')
-rw-r--r--apps/recorder/recording.c23
1 files changed, 22 insertions, 1 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index 97198b9d18..ff79be24f7 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -362,7 +362,7 @@ bool recording_screen(void)
362 timeout = current_tick + HZ/10; 362 timeout = current_tick + HZ/10;
363 363
364 seconds = mpeg_recorded_time() / HZ; 364 seconds = mpeg_recorded_time() / HZ;
365 365
366 update_countdown--; 366 update_countdown--;
367 if(update_countdown == 0 || seconds > last_seconds) 367 if(update_countdown == 0 || seconds > last_seconds)
368 { 368 {
@@ -480,6 +480,27 @@ bool recording_screen(void)
480 lcd_update_rect(0, 8 + h*2, LCD_WIDTH, h); 480 lcd_update_rect(0, 8 + h*2, LCD_WIDTH, h);
481 } 481 }
482 } 482 }
483
484 if(mpeg_status() & MPEG_STATUS_ERROR)
485 {
486 done = true;
487 }
488 }
489
490 if(mpeg_status() & MPEG_STATUS_ERROR)
491 {
492 status_set_playmode(STATUS_STOP);
493 splash(0, 0, true, str(LANG_DISK_FULL));
494 status_draw(true);
495 lcd_update();
496 mpeg_error_clear();
497
498 while(1)
499 {
500 button = button_get(true);
501 if(button == (BUTTON_OFF | BUTTON_REL))
502 break;
503 }
483 } 504 }
484 505
485 mpeg_init_playback(); 506 mpeg_init_playback();