summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-04-15 10:52:34 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2012-04-15 10:52:34 +0200
commitf822cdf2613096a2b545daed6cab1ed3a5c8ef5b (patch)
tree1f9305095e919a624f94bfd55d9197d0da6f4b1e /menu.c
parentc650904794774733d505bb919170c8cbd5750395 (diff)
downloadvdr-f822cdf2613096a2b545daed6cab1ed3a5c8ef5b.tar.gz
vdr-f822cdf2613096a2b545daed6cab1ed3a5c8ef5b.tar.bz2
The new setup option "DVB/Standard compliance" can be used to switch between different variations of the DVB standard
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 6bb7af1a..91a86d95 100644
--- a/menu.c
+++ b/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 2.47 2012/04/08 11:52:56 kls Exp $
+ * $Id: menu.c 2.48 2012/04/15 10:15:16 kls Exp $
*/
#include "menu.h"
@@ -2783,6 +2783,7 @@ private:
void Setup(void);
const char *videoDisplayFormatTexts[3];
const char *updateChannelsTexts[6];
+ const char *standardComplianceTexts[2];
public:
cMenuSetupDVB(void);
virtual eOSState ProcessKey(eKeys Key);
@@ -2805,6 +2806,8 @@ cMenuSetupDVB::cMenuSetupDVB(void)
updateChannelsTexts[3] = tr("names and PIDs");
updateChannelsTexts[4] = tr("add new channels");
updateChannelsTexts[5] = tr("add new transponders");
+ standardComplianceTexts[0] = "DVB";
+ standardComplianceTexts[1] = "ANSI/SCTE";
SetSection(tr("DVB"));
SetHelp(NULL, tr("Button$Audio"), tr("Button$Subtitles"), NULL);
@@ -2818,6 +2821,7 @@ void cMenuSetupDVB::Setup(void)
Clear();
Add(new cMenuEditIntItem( tr("Setup.DVB$Primary DVB interface"), &data.PrimaryDVB, 1, cDevice::NumDevices()));
+ Add(new cMenuEditStraItem(tr("Setup.DVB$Standard compliance"), &data.StandardCompliance, 2, standardComplianceTexts));
Add(new cMenuEditBoolItem(tr("Setup.DVB$Video format"), &data.VideoFormat, "4:3", "16:9"));
if (data.VideoFormat == 0)
Add(new cMenuEditStraItem(tr("Setup.DVB$Video display format"), &data.VideoDisplayFormat, 3, videoDisplayFormatTexts));