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

Added a log message in case a receiver is detached from its device because the assigned CAM can't decrypt the channel

This commit is contained in:
Klaus Schmidinger 2014-03-11 09:48:40 +01:00
parent c5071cc87b
commit 7a114d640c
2 changed files with 5 additions and 2 deletions

View File

@ -8203,7 +8203,7 @@ Video Disk Recorder Revision History
- Fixed detecting broken video data streams when recording. - Fixed detecting broken video data streams when recording.
- Fixed handling frame detection buffer length (reported by Eike Sauer). - Fixed handling frame detection buffer length (reported by Eike Sauer).
2014-03-10: Version 2.1.6 2014-03-11: Version 2.1.6
- Revoked "Fixed some compiler warnings with Clang 3.4.1" from ci.c, because this - Revoked "Fixed some compiler warnings with Clang 3.4.1" from ci.c, because this
did not compile with older versions of gcc (thanks to Sören Moch). did not compile with older versions of gcc (thanks to Sören Moch).
@ -8229,3 +8229,5 @@ Video Disk Recorder Revision History
- The SDT is now only parsed *after* the NIT has been read, and it explicitly uses - The SDT is now only parsed *after* the NIT has been read, and it explicitly uses
the source value derived from the NIT. This should prevent new channels from being the source value derived from the NIT. This should prevent new channels from being
created with the wrong source. created with the wrong source.
- Added a log message in case a receiver is detached from its device because the
assigned CAM can't decrypt the channel.

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: device.c 3.13 2014/03/10 14:12:27 kls Exp $ * $Id: device.c 3.14 2014/03/11 09:48:40 kls Exp $
*/ */
#include "device.h" #include "device.h"
@ -1608,6 +1608,7 @@ void cDevice::Action(void)
for (int i = 0; i < MAXRECEIVERS; i++) { for (int i = 0; i < MAXRECEIVERS; i++) {
if (receiver[i] && receiver[i]->WantsPid(Pid)) { if (receiver[i] && receiver[i]->WantsPid(Pid)) {
if (DetachReceivers) { if (DetachReceivers) {
dsyslog("detaching receiver - won't decrypt channel %s with CAM %d", *receiver[i]->ChannelID().ToString(), CamSlotNumber);
ChannelCamRelations.SetChecked(receiver[i]->ChannelID(), CamSlotNumber); ChannelCamRelations.SetChecked(receiver[i]->ChannelID(), CamSlotNumber);
Detach(receiver[i]); Detach(receiver[i]);
} }