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

Fixed checking CA capabilities with the dvb-kernel driver

This commit is contained in:
Klaus Schmidinger 2003-08-02 10:04:21 +02:00
parent 0485e5ad00
commit a021b0f1bf
3 changed files with 7 additions and 2 deletions

View File

@ -733,3 +733,6 @@ Thomas Keil <tk@commedia-group.com>
that a channel only qualifies as "previous" if it has been selected for at least that a channel only qualifies as "previous" if it has been selected for at least
3 seconds 3 seconds
for reporting a bug in handling the color buttons in the "Edit channel" menu for reporting a bug in handling the color buttons in the "Edit channel" menu
Kenneth Aafløy <ke-aa@frisurf.no>
for fixing checking CA capabilities with the dvb-kernel driver

View File

@ -2273,3 +2273,5 @@ Video Disk Recorder Revision History
Keil for reporting this one). Keil for reporting this one).
- Fixed an occasional "Broken pipe" error in SVDRP connections (thanks to Gerhard - Fixed an occasional "Broken pipe" error in SVDRP connections (thanks to Gerhard
Steiner for reporting this one). Steiner for reporting this one).
- Fixed checking CA capabilities with the dvb-kernel driver (thanks to Kenneth
Aafløy).

4
ci.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: ci.c 1.15 2003/05/25 11:45:11 kls Exp $ * $Id: ci.c 1.16 2003/08/02 10:00:01 kls Exp $
*/ */
/* XXX TODO /* XXX TODO
@ -1314,7 +1314,7 @@ cCiHandler *cCiHandler::CreateCiHandler(const char *FileName)
int NumSlots = Caps.slot_num; int NumSlots = Caps.slot_num;
if (NumSlots > 0) { if (NumSlots > 0) {
//XXX dsyslog("CAM: found %d CAM slots", NumSlots); // TODO let's do this only once we can be sure that there _really_ is a CAM adapter! //XXX dsyslog("CAM: found %d CAM slots", NumSlots); // TODO let's do this only once we can be sure that there _really_ is a CAM adapter!
if (Caps.slot_type == CA_CI_LINK) if ((Caps.slot_type & CA_CI_LINK) != 0)
return new cCiHandler(fd_ca, NumSlots); return new cCiHandler(fd_ca, NumSlots);
else else
isyslog("CAM doesn't support link layer interface"); isyslog("CAM doesn't support link layer interface");