mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
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:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user