summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Wilgus <me.theuser@yahoo.com>2019-08-04 13:38:38 -0500
committerWilliam Wilgus <me.theuser@yahoo.com>2019-08-04 13:38:38 -0500
commit448b97a888035765aff28bce7ad0178c4a16b0aa (patch)
tree727ea60a0811096deedf694f3bdf3cf9cb0ce87c
parentd1f349bf772a8374a9c264bcff974d3db7ce32b9 (diff)
downloadrockbox-448b97a888035765aff28bce7ad0178c4a16b0aa.tar.gz
rockbox-448b97a888035765aff28bce7ad0178c4a16b0aa.tar.bz2
rockbox-448b97a888035765aff28bce7ad0178c4a16b0aa.zip
fix recording.c file split time in seconds not minutes
FS#13173 Change-Id: Icae45bf21c3470e04e7d99355a09d016d204d574
-rw-r--r--apps/recorder/recording.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index 0ab5654b10..b67436839c 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -975,7 +975,7 @@ bool recording_screen(bool no_source)
int audio_stat = 0; /* status of the audio system */
int last_audio_stat = -1; /* previous status so we can act on changes */
struct viewport vp_list[NB_SCREENS], vp_top[NB_SCREENS]; /* the viewports */
- const unsigned long split_seconds = (unsigned) global_settings.rec_timesplit;
+ const unsigned long split_seconds = (unsigned) global_settings.rec_timesplit * 60;
const unsigned long split_bytes = rec_sizesplit_bytes();
#if CONFIG_CODEC == SWCODEC