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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index 0f095bef48..ab1527444c 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -136,7 +136,7 @@ void adjust_cursor(void)
136 } 136 }
137} 137}
138 138
139static char *create_filename(void) 139char *rec_create_filename(void)
140{ 140{
141 static char fname[32]; 141 static char fname[32];
142 struct tm * tm; 142 struct tm * tm;
@@ -216,14 +216,14 @@ bool recording_screen(void)
216 if(!mpeg_status()) 216 if(!mpeg_status())
217 { 217 {
218 have_recorded = true; 218 have_recorded = true;
219 mpeg_record(create_filename()); 219 mpeg_record(rec_create_filename());
220 status_set_playmode(STATUS_RECORD); 220 status_set_playmode(STATUS_RECORD);
221 update_countdown = 1; /* Update immediately */ 221 update_countdown = 1; /* Update immediately */
222 last_seconds = 0; 222 last_seconds = 0;
223 } 223 }
224 else 224 else
225 { 225 {
226 mpeg_new_file(create_filename()); 226 mpeg_new_file(rec_create_filename());
227 update_countdown = 1; /* Update immediately */ 227 update_countdown = 1; /* Update immediately */
228 } 228 }
229 break; 229 break;
@@ -394,7 +394,7 @@ bool recording_screen(void)
394 394
395 if (mpeg_status() && (seconds >= dseconds)) 395 if (mpeg_status() && (seconds >= dseconds))
396 { 396 {
397 mpeg_new_file(create_filename()); 397 mpeg_new_file(rec_create_filename());
398 update_countdown = 1; 398 update_countdown = 1;
399 last_seconds = 0; 399 last_seconds = 0;
400 } 400 }