From 35fbd07b5b3e023b0c6e3d40023ef7aed39a4822 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 10 Feb 2001 13:13:49 +0100 Subject: [PATCH] Supporting 4 DVB cards by default --- HISTORY | 7 ++++++- dvbapi.h | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/HISTORY b/HISTORY index 53c07c80..d06e7ab6 100644 --- a/HISTORY +++ b/HISTORY @@ -350,7 +350,7 @@ Video Disk Recorder Revision History - Encrypted channels can now be selected even without knowing the PNR (however, it is still necessary for the EPG info). -2001-02-04: Version 0.71 +2001-02-10: Version 0.71 - Fixed 'Transfer Mode' in cases where a non-primary interface was switched to a channel that only the primary interface can receive (which could happen in @@ -379,3 +379,8 @@ Video Disk Recorder Revision History - Deleted recordings are now automatically removed from disk after a while (not only when disk space is being needed for a new recording). - Fixed repeat function in LIRC remote control. +- Changed the MAXDVBAPI macro in dvbapi.c to 4 in order to directly support the + maximum possible number of DVB cards. +- The 'Ca' parameter in the default 'channels.conf' has been changed from '2' + to '3' because the VDR prototype now has 3 DVB cards (and currently the CAM + module only works if it is inserted into the last DVB card). diff --git a/dvbapi.h b/dvbapi.h index 634fabfe..517736da 100644 --- a/dvbapi.h +++ b/dvbapi.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbapi.h 1.33 2001/02/03 17:39:33 kls Exp $ + * $Id: dvbapi.h 1.34 2001/02/10 13:11:48 kls Exp $ */ #ifndef __DVBAPI_H @@ -71,7 +71,7 @@ private: public: ~cDvbApi(); -#define MAXDVBAPI 2 +#define MAXDVBAPI 4 static int NumDvbApis; private: static cDvbApi *dvbApi[MAXDVBAPI];