mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
The "Update channels" parameter in the "Setup/DVB" menu has been extended to allow updating only the PIDs
This commit is contained in:
13
menu.c
13
menu.c
@@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: menu.c 1.431 2006/04/15 13:37:09 kls Exp $
|
||||
* $Id: menu.c 1.432 2006/04/15 14:09:40 kls Exp $
|
||||
*/
|
||||
|
||||
#include "menu.h"
|
||||
@@ -2299,7 +2299,7 @@ private:
|
||||
int numAudioLanguages;
|
||||
void Setup(void);
|
||||
const char *videoDisplayFormatTexts[3];
|
||||
const char *updateChannelsTexts[5];
|
||||
const char *updateChannelsTexts[6];
|
||||
public:
|
||||
cMenuSetupDVB(void);
|
||||
virtual eOSState ProcessKey(eKeys Key);
|
||||
@@ -2315,9 +2315,10 @@ cMenuSetupDVB::cMenuSetupDVB(void)
|
||||
videoDisplayFormatTexts[2] = tr("center cut out");
|
||||
updateChannelsTexts[0] = tr("no");
|
||||
updateChannelsTexts[1] = tr("names only");
|
||||
updateChannelsTexts[2] = tr("names and PIDs");
|
||||
updateChannelsTexts[3] = tr("add new channels");
|
||||
updateChannelsTexts[4] = tr("add new transponders");
|
||||
updateChannelsTexts[2] = tr("PIDs only");
|
||||
updateChannelsTexts[3] = tr("names and PIDs");
|
||||
updateChannelsTexts[4] = tr("add new channels");
|
||||
updateChannelsTexts[5] = tr("add new transponders");
|
||||
|
||||
SetSection(tr("DVB"));
|
||||
Setup();
|
||||
@@ -2334,7 +2335,7 @@ void cMenuSetupDVB::Setup(void)
|
||||
if (data.VideoFormat == 0)
|
||||
Add(new cMenuEditStraItem(tr("Setup.DVB$Video display format"), &data.VideoDisplayFormat, 3, videoDisplayFormatTexts));
|
||||
Add(new cMenuEditBoolItem(tr("Setup.DVB$Use Dolby Digital"), &data.UseDolbyDigital));
|
||||
Add(new cMenuEditStraItem(tr("Setup.DVB$Update channels"), &data.UpdateChannels, 5, updateChannelsTexts));
|
||||
Add(new cMenuEditStraItem(tr("Setup.DVB$Update channels"), &data.UpdateChannels, 6, updateChannelsTexts));
|
||||
Add(new cMenuEditIntItem( tr("Setup.DVB$Audio languages"), &numAudioLanguages, 0, I18nNumLanguages));
|
||||
for (int i = 0; i < numAudioLanguages; i++)
|
||||
Add(new cMenuEditStraItem(tr("Setup.DVB$Audio language"), &data.AudioLanguages[i], I18nNumLanguages, I18nLanguages()));
|
||||
|
Reference in New Issue
Block a user