diff --git a/src/gui/record_setup.cpp b/src/gui/record_setup.cpp index d95d51f8a..38c8375ce 100644 --- a/src/gui/record_setup.cpp +++ b/src/gui/record_setup.cpp @@ -249,11 +249,15 @@ int CRecordSetup::showRecordSetup() #if HAVE_ARM_HARDWARE CMenuOptionNumberChooser *ch; + ch = new CMenuOptionNumberChooser(LOCALE_EXTRA_RECORD_BUFSIZE, &g_settings.recording_bufsize, true, 1, 25, NULL); ch->setNumberFormat("%d MB"); + //TODO: ch->setHint("", LOCALE_MENU_HINT_RECORD_BUFSIZE); recordingSettings->addItem(ch); + ch = new CMenuOptionNumberChooser(LOCALE_EXTRA_RECORD_BUFSIZE_DMX, &g_settings.recording_bufsize_dmx, true, 1, 25, NULL); ch->setNumberFormat("%d MB"); + //TODO: ch->setHint("", LOCALE_MENU_HINT_RECORD_BUFSIZE_DMX); recordingSettings->addItem(ch); #endif diff --git a/src/neutrino.cpp b/src/neutrino.cpp index a12b103c2..bb69031e0 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -1503,13 +1503,13 @@ void CNeutrinoApp::saveSetup(const char * fname) configfile.setBool ("shutdown_timer_record_type" , g_settings.shutdown_timer_record_type ); configfile.setBool ("recordingmenu.stream_vtxt_pid" , g_settings.recording_stream_vtxt_pid ); + configfile.setBool ("recordingmenu.stream_subtitle_pids" , g_settings.recording_stream_subtitle_pids ); + configfile.setBool ("recordingmenu.stream_pmt_pid" , g_settings.recording_stream_pmt_pid ); + configfile.setString("recordingmenu.filename_template" , g_settings.recording_filename_template ); #if HAVE_ARM_HARDWARE configfile.setInt32 ("recording_bufsize" , g_settings.recording_bufsize); configfile.setInt32 ("recording_bufsize_dmx" , g_settings.recording_bufsize_dmx); #endif - configfile.setBool ("recordingmenu.stream_subtitle_pids" , g_settings.recording_stream_subtitle_pids ); - configfile.setBool ("recordingmenu.stream_pmt_pid" , g_settings.recording_stream_pmt_pid ); - configfile.setString("recordingmenu.filename_template" , g_settings.recording_filename_template ); configfile.setInt32 ("recording_choose_direct_rec_dir" , g_settings.recording_choose_direct_rec_dir); configfile.setBool ("recording_epg_for_filename" , g_settings.recording_epg_for_filename ); configfile.setBool ("recording_epg_for_end" , g_settings.recording_epg_for_end ); diff --git a/src/system/settings.h b/src/system/settings.h index 585b46e61..d016edea3 100644 --- a/src/system/settings.h +++ b/src/system/settings.h @@ -500,13 +500,13 @@ struct SNeutrinoSettings int recording_audio_pids_std; int recording_audio_pids_alt; int recording_audio_pids_ac3; + int recording_stream_vtxt_pid; + int recording_stream_subtitle_pids; + int recording_stream_pmt_pid; #if HAVE_ARM_HARDWARE int recording_bufsize; int recording_bufsize_dmx; #endif - int recording_stream_vtxt_pid; - int recording_stream_subtitle_pids; - int recording_stream_pmt_pid; int recording_choose_direct_rec_dir; int recording_epg_for_filename; int recording_epg_for_end;