Now applies the selected options properly when exiting the setup menu

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2819 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2002-11-11 08:16:18 +00:00
parent afe0da9e16
commit 1bee8d5117

View file

@ -165,9 +165,13 @@ bool recording_screen(void)
break;
case BUTTON_PLAY:
/* Only act if the mpeg is stopped */
if(!mpeg_status())
{
mpeg_record("");
status_set_playmode(STATUS_RECORD);
update_countdown = 1; /* Update immediately */
}
break;
case BUTTON_UP:
@ -268,6 +272,12 @@ bool recording_screen(void)
if (recording_menu())
return SYS_USB_CONNECTED;
settings_save();
mpeg_set_recording_options(global_settings.rec_frequency,
global_settings.rec_quality,
global_settings.rec_source,
global_settings.rec_channels);
set_gain();
update_countdown = 1; /* Update immediately */
break;