mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Only store ChannelCamRelations for receivers with valid channel ids
This commit is contained in:
parent
d60336ba96
commit
830e30e2fb
4
device.c
4
device.c
@ -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 4.10 2017/03/26 11:35:38 kls Exp $
|
* $Id: device.c 4.11 2017/03/27 14:02:54 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "device.h"
|
#include "device.h"
|
||||||
@ -1692,7 +1692,7 @@ void cDevice::Action(void)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
receiver[i]->Receive(b, TS_SIZE);
|
receiver[i]->Receive(b, TS_SIZE);
|
||||||
if (DescramblingOk) {
|
if (DescramblingOk && receiver[i]->ChannelID().Valid()) {
|
||||||
dsyslog("CAM %d: decrypts channel %s", CamSlotNumber, *receiver[i]->ChannelID().ToString());
|
dsyslog("CAM %d: decrypts channel %s", CamSlotNumber, *receiver[i]->ChannelID().ToString());
|
||||||
ChannelCamRelations.SetDecrypt(receiver[i]->ChannelID(), CamSlotNumber);
|
ChannelCamRelations.SetDecrypt(receiver[i]->ChannelID(), CamSlotNumber);
|
||||||
startScrambleDetection = 0;
|
startScrambleDetection = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user