From 7a114d640c55339264a09296c372ec983695d165 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Tue, 11 Mar 2014 09:48:40 +0100 Subject: Added a log message in case a receiver is detached from its device because the assigned CAM can't decrypt the channel --- HISTORY | 4 +++- device.c | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/HISTORY b/HISTORY index 517bfe6e..14412a6b 100644 --- a/HISTORY +++ b/HISTORY @@ -8203,7 +8203,7 @@ Video Disk Recorder Revision History - Fixed detecting broken video data streams when recording. - 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 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 source value derived from the NIT. This should prevent new channels from being 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. diff --git a/device.c b/device.c index ff1980d6..13397281 100644 --- a/device.c +++ b/device.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * 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" @@ -1608,6 +1608,7 @@ void cDevice::Action(void) for (int i = 0; i < MAXRECEIVERS; i++) { if (receiver[i] && receiver[i]->WantsPid(Pid)) { if (DetachReceivers) { + dsyslog("detaching receiver - won't decrypt channel %s with CAM %d", *receiver[i]->ChannelID().ToString(), CamSlotNumber); ChannelCamRelations.SetChecked(receiver[i]->ChannelID(), CamSlotNumber); Detach(receiver[i]); } -- cgit v1.2.3