summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2014-03-11 09:48:40 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2014-03-11 09:48:40 +0100
commit7a114d640c55339264a09296c372ec983695d165 (patch)
tree12cdc4f820d184962795a839d2077c024a743913 /device.c
parentc5071cc87b5d5bf4cf6c685a45a8e69f9f36f5ae (diff)
downloadvdr-7a114d640c55339264a09296c372ec983695d165.tar.gz
vdr-7a114d640c55339264a09296c372ec983695d165.tar.bz2
Added a log message in case a receiver is detached from its device because the assigned CAM can't decrypt the channel
Diffstat (limited to 'device.c')
-rw-r--r--device.c3
1 files changed, 2 insertions, 1 deletions
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]);
}