summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2021-03-17 10:59:36 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2021-03-17 10:59:36 +0100
commit3d55d3045ef136e4cb3ccec0f00a13858c570dff (patch)
treea988d96a01ae11062ee96235ce1954f40c9f207a /device.c
parent7ffc1a5efee20ae7a778dd1482f16e193cc1f620 (diff)
downloadvdr-3d55d3045ef136e4cb3ccec0f00a13858c570dff.tar.gz
vdr-3d55d3045ef136e4cb3ccec0f00a13858c570dff.tar.bz2
Decreased the scrambling timeout for CAMs known to decrypt a certain channel
Diffstat (limited to 'device.c')
-rw-r--r--device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/device.c b/device.c
index 7553c5ba..b2a85944 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 5.1 2021/01/11 10:36:05 kls Exp $
+ * $Id: device.c 5.2 2021/03/17 10:59:36 kls Exp $
*/
#include "device.h"
@@ -1802,7 +1802,7 @@ bool cDevice::AttachReceiver(cReceiver *Receiver)
Receiver->scramblingTimeout = TS_SCRAMBLING_TIMEOUT;
bool KnownToDecrypt = ChannelCamRelations.CamDecrypt(Receiver->ChannelID(), camSlot->MasterSlotNumber());
if (KnownToDecrypt)
- Receiver->scramblingTimeout *= 10; // give it time to receive ECM/EMM
+ Receiver->scramblingTimeout *= 9; // give it time to receive ECM/EMM (must be less than MAXBROKENTIMEOUT in recorder.c!)
if (Receiver->ChannelID().Valid())
dsyslog("CAM %d: %sknown to decrypt channel %s (scramblingTimeout = %ds)", camSlot->MasterSlotNumber(), KnownToDecrypt ? "" : "not ", *Receiver->ChannelID().ToString(), Receiver->scramblingTimeout);
}