summaryrefslogtreecommitdiff
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
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
-rw-r--r--HISTORY4
-rw-r--r--device.c3
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]);
}