1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Changed 'TrustedTransponder' to 'TimeTransponder'

This commit is contained in:
Klaus Schmidinger 2002-03-17 14:24:11 +01:00
parent dea51d37a9
commit b305ea6b02
5 changed files with 11 additions and 11 deletions

View File

@ -1092,7 +1092,7 @@ Video Disk Recorder Revision History
activity, but this should be no problem for normal use). activity, but this should be no problem for normal use).
- Changed the MANUAL description of the "Conditional Access" setup parameters - Changed the MANUAL description of the "Conditional Access" setup parameters
to reflect the actual "CICAM DVBn m" notation in the "Setup" menu. to reflect the actual "CICAM DVBn m" notation in the "Setup" menu.
- The new Setup parameter TrustedTransponder can be used to define which - The new Setup parameter "Use time from transponder" can be used to define which
transponder shall be used to set the system time (see MANUAL for details). transponder shall be used to set the system time (see MANUAL for details).
If you have been using the SetSystemTime option previously, you now MUST If you have been using the SetSystemTime option previously, you now MUST
select a channel that you trust to have a reliable time base. select a channel that you trust to have a reliable time base.

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: config.c 1.90 2002/03/10 12:22:25 kls Exp $ * $Id: config.c 1.91 2002/03/17 14:24:09 kls Exp $
*/ */
#include "config.h" #include "config.h"
@ -931,7 +931,7 @@ cSetup::cSetup(void)
LnbFrequHi = 10600; LnbFrequHi = 10600;
DiSEqC = 0; DiSEqC = 0;
SetSystemTime = 0; SetSystemTime = 0;
TrustedTransponder = 0; TimeTransponder = 0;
MarginStart = 2; MarginStart = 2;
MarginStop = 10; MarginStop = 10;
EPGScanTimeout = 5; EPGScanTimeout = 5;
@ -1018,7 +1018,7 @@ bool cSetup::Parse(char *s)
else if (!strcasecmp(Name, "LnbFrequHi")) LnbFrequHi = atoi(Value); else if (!strcasecmp(Name, "LnbFrequHi")) LnbFrequHi = atoi(Value);
else if (!strcasecmp(Name, "DiSEqC")) DiSEqC = atoi(Value); else if (!strcasecmp(Name, "DiSEqC")) DiSEqC = atoi(Value);
else if (!strcasecmp(Name, "SetSystemTime")) SetSystemTime = atoi(Value); else if (!strcasecmp(Name, "SetSystemTime")) SetSystemTime = atoi(Value);
else if (!strcasecmp(Name, "TrustedTransponder")) TrustedTransponder = atoi(Value); else if (!strcasecmp(Name, "TimeTransponder")) TimeTransponder = atoi(Value);
else if (!strcasecmp(Name, "MarginStart")) MarginStart = atoi(Value); else if (!strcasecmp(Name, "MarginStart")) MarginStart = atoi(Value);
else if (!strcasecmp(Name, "MarginStop")) MarginStop = atoi(Value); else if (!strcasecmp(Name, "MarginStop")) MarginStop = atoi(Value);
else if (!strcasecmp(Name, "EPGScanTimeout")) EPGScanTimeout = atoi(Value); else if (!strcasecmp(Name, "EPGScanTimeout")) EPGScanTimeout = atoi(Value);
@ -1100,7 +1100,7 @@ bool cSetup::Save(const char *FileName)
fprintf(f, "LnbFrequHi = %d\n", LnbFrequHi); fprintf(f, "LnbFrequHi = %d\n", LnbFrequHi);
fprintf(f, "DiSEqC = %d\n", DiSEqC); fprintf(f, "DiSEqC = %d\n", DiSEqC);
fprintf(f, "SetSystemTime = %d\n", SetSystemTime); fprintf(f, "SetSystemTime = %d\n", SetSystemTime);
fprintf(f, "TrustedTransponder = %d\n", TrustedTransponder); fprintf(f, "TimeTransponder = %d\n", TimeTransponder);
fprintf(f, "MarginStart = %d\n", MarginStart); fprintf(f, "MarginStart = %d\n", MarginStart);
fprintf(f, "MarginStop = %d\n", MarginStop); fprintf(f, "MarginStop = %d\n", MarginStop);
fprintf(f, "EPGScanTimeout = %d\n", EPGScanTimeout); fprintf(f, "EPGScanTimeout = %d\n", EPGScanTimeout);

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: config.h 1.104 2002/03/10 12:45:11 kls Exp $ * $Id: config.h 1.105 2002/03/17 14:24:11 kls Exp $
*/ */
#ifndef __CONFIG_H #ifndef __CONFIG_H
@ -342,7 +342,7 @@ public:
int LnbFrequHi; int LnbFrequHi;
int DiSEqC; int DiSEqC;
int SetSystemTime; int SetSystemTime;
int TrustedTransponder; int TimeTransponder;
int MarginStart, MarginStop; int MarginStart, MarginStop;
int EPGScanTimeout; int EPGScanTimeout;
int EPGBugfixLevel; int EPGBugfixLevel;

4
eit.c
View File

@ -16,7 +16,7 @@
* the Free Software Foundation; either version 2 of the License, or * * the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. * * (at your option) any later version. *
* * * *
* $Id: eit.c 1.40 2002/03/10 12:45:38 kls Exp $ * $Id: eit.c 1.41 2002/03/17 14:23:41 kls Exp $
***************************************************************************/ ***************************************************************************/
#include "eit.h" #include "eit.h"
@ -1137,7 +1137,7 @@ void cSIProcessor::Action()
case 0x14: case 0x14:
if (buf[0] == 0x70) if (buf[0] == 0x70)
{ {
if (Setup.SetSystemTime && Setup.TrustedTransponder && ISTRANSPONDER(currentTransponder, Setup.TrustedTransponder)) if (Setup.SetSystemTime && Setup.TimeTransponder && ISTRANSPONDER(currentTransponder, Setup.TimeTransponder))
{ {
cTDT ctdt((tdt_t *)buf); cTDT ctdt((tdt_t *)buf);
ctdt.SetSystemTime(); ctdt.SetSystemTime();

4
menu.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: menu.c 1.171 2002/03/17 13:50:27 kls Exp $ * $Id: menu.c 1.172 2002/03/17 14:23:44 kls Exp $
*/ */
#include "menu.h" #include "menu.h"
@ -2015,7 +2015,7 @@ void cMenuSetupEPG::Set(void)
Add(new cMenuEditIntItem( tr("Setup.EPG$EPG scan timeout"), &data.EPGScanTimeout)); Add(new cMenuEditIntItem( tr("Setup.EPG$EPG scan timeout"), &data.EPGScanTimeout));
Add(new cMenuEditIntItem( tr("Setup.EPG$EPG bugfix level"), &data.EPGBugfixLevel, 0, MAXEPGBUGFIXLEVEL)); Add(new cMenuEditIntItem( tr("Setup.EPG$EPG bugfix level"), &data.EPGBugfixLevel, 0, MAXEPGBUGFIXLEVEL));
Add(new cMenuEditBoolItem(tr("Setup.EPG$Set system time"), &data.SetSystemTime)); Add(new cMenuEditBoolItem(tr("Setup.EPG$Set system time"), &data.SetSystemTime));
Add(new cMenuEditTranItem(tr("Setup.EPG$Use time from transponder"), &data.TrustedTransponder)); Add(new cMenuEditTranItem(tr("Setup.EPG$Use time from transponder"), &data.TimeTransponder));
} }
// --- cMenuSetupDVB --------------------------------------------------------- // --- cMenuSetupDVB ---------------------------------------------------------