mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
add record option for teletext & dvbsub pids
Origin commit data
------------------
Commit: b2241df43d
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-03-19 (Tue, 19 Mar 2013)
Origin message was:
------------------
-add record option for teletext & dvbsub pids
This commit is contained in:
committed by
[CST] Focus
parent
5a4019cbe1
commit
4838903eb9
@@ -229,6 +229,13 @@ int CRecordSetup::showRecordSetup()
|
||||
mf->setHint("", LOCALE_MENU_HINT_RECORD_APIDS);
|
||||
recordingSettings->addItem(mf);
|
||||
|
||||
//datasettings
|
||||
CMenuWidget recordingaDataSettings(LOCALE_MAINSETTINGS_RECORDING, NEUTRINO_ICON_SETTINGS, width, MN_WIDGET_ID_RECORDSETUP_DATASETTINGS);
|
||||
showRecordDataSetup(&recordingaDataSettings);
|
||||
mf = new CMenuForwarder(LOCALE_RECORDINGMENU_DATAPIDS, true, NULL, &recordingaDataSettings, NULL, CRCInput::RC_1);
|
||||
mf->setHint("", LOCALE_MENU_HINT_RECORD_DATA);
|
||||
recordingSettings->addItem(mf);
|
||||
|
||||
int res = recordingSettings->exec(NULL, "");
|
||||
delete recordingSettings;
|
||||
return res;
|
||||
@@ -291,6 +298,22 @@ void CRecordSetup::showRecordAudioSetup(CMenuWidget *menu_audiosettings)
|
||||
menu_audiosettings->addItem(aoj3);
|
||||
}
|
||||
|
||||
void CRecordSetup::showRecordDataSetup(CMenuWidget *menu_datasettings)
|
||||
{
|
||||
//recording data pids
|
||||
|
||||
//teletext pids
|
||||
CMenuOptionChooser* doj1 = new CMenuOptionChooser(LOCALE_RECORDINGMENU_VTXT_PID, &g_settings.recording_stream_vtxt_pid, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true, this);
|
||||
CMenuOptionChooser* doj2 = new CMenuOptionChooser(LOCALE_RECORDINGMENU_DVBSUB_PIDS, &g_settings.recording_stream_subtitle_pids, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true, this);
|
||||
|
||||
doj1->setHint("", LOCALE_MENU_HINT_RECORD_DATA_VTXT);
|
||||
doj2->setHint("", LOCALE_MENU_HINT_RECORD_DATA_DVBSUB);
|
||||
|
||||
menu_datasettings->addIntroItems(LOCALE_RECORDINGMENU_DATAPIDS);
|
||||
menu_datasettings->addItem(doj1);
|
||||
menu_datasettings->addItem(doj2);
|
||||
}
|
||||
|
||||
void CRecordSetup::showRecordTimeShiftSetup(CMenuWidget *menu_ts)
|
||||
{
|
||||
menu_ts->addIntroItems(LOCALE_RECORDINGMENU_TIMESHIFT);
|
||||
|
Reference in New Issue
Block a user