record: pick buffer handling from DDT

Origin commit data
------------------
Commit: 44d07ce8e2
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-01-20 (Sun, 20 Jan 2019)

Origin message was:
------------------
- record: pick buffer handling from DDT
This commit is contained in:
vanhofen
2019-01-20 23:33:59 +01:00
parent 5e2f0a1a17
commit 39aa16503b
8 changed files with 53 additions and 0 deletions

View File

@@ -756,6 +756,10 @@ int CNeutrinoApp::loadSetup(const char * fname)
g_settings.recording_stream_subtitle_pids = configfile.getBool("recordingmenu.stream_subtitle_pids", true);
g_settings.recording_stream_pmt_pid = configfile.getBool("recordingmenu.stream_pmt_pid" , false);
g_settings.recording_filename_template = configfile.getString("recordingmenu.filename_template" , "%C_%T_%d_%t");
#if HAVE_ARM_HARDWARE
g_settings.recording_bufsize = configfile.getInt32("recording_bufsize", 4);
g_settings.recording_bufsize_dmx = configfile.getInt32("recording_bufsize_dmx", 2);
#endif
g_settings.recording_choose_direct_rec_dir = configfile.getInt32( "recording_choose_direct_rec_dir", 0 );
g_settings.recording_epg_for_filename = configfile.getBool("recording_epg_for_filename" , true);
g_settings.recording_epg_for_end = configfile.getBool("recording_epg_for_end" , true);
@@ -1611,6 +1615,10 @@ 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 );
#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 );