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:
parent
afe0da9e16
commit
1bee8d5117
1 changed files with 13 additions and 3 deletions
|
@ -165,9 +165,13 @@ bool recording_screen(void)
|
|||
break;
|
||||
|
||||
case BUTTON_PLAY:
|
||||
mpeg_record("");
|
||||
status_set_playmode(STATUS_RECORD);
|
||||
update_countdown = 1; /* Update immediately */
|
||||
/* 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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue