summaryrefslogtreecommitdiff
path: root/dvbapi.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-03-14 18:39:53 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2001-03-14 18:39:53 +0100
commit1966a1587653a4d352c7ccd7cdeaa9d3a4ad39ac (patch)
tree56b7f3605b641a62fc445ef821abeb15bbcdff86 /dvbapi.c
parentc741cb7129c256873041729020a393add12fd835 (diff)
downloadvdr-1966a1587653a4d352c7ccd7cdeaa9d3a4ad39ac.tar.gz
vdr-1966a1587653a4d352c7ccd7cdeaa9d3a4ad39ac.tar.bz2
Fixed setting system time from transponders
Diffstat (limited to 'dvbapi.c')
-rw-r--r--dvbapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dvbapi.c b/dvbapi.c
index 166b0e06..1c29c8b4 100644
--- a/dvbapi.c
+++ b/dvbapi.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbapi.c 1.62 2001/03/03 11:36:36 kls Exp $
+ * $Id: dvbapi.c 1.63 2001/03/14 18:39:53 kls Exp $
*/
#include "dvbapi.h"
@@ -1535,7 +1535,7 @@ cDvbApi::cDvbApi(const char *VideoFileName, const char *VbiFileName)
videoDev = open(VideoFileName, O_RDWR | O_NONBLOCK);
if (videoDev >= 0) {
siProcessor = new cSIProcessor(VbiFileName);
- if (!NumDvbApis) // only the first one shall set the system time
+ if (!dvbApi[0]) // only the first one shall set the system time
siProcessor->SetUseTSTime(Setup.SetSystemTime);
siProcessor->AddFilter(0x14, 0x70); // TDT
siProcessor->AddFilter(0x14, 0x73); // TOT