crypt info verimatrix added

Origin commit data
------------------
Commit: 09b8aa09c9
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2019-10-18 (Fri, 18 Oct 2019)
This commit is contained in:
BPanther
2019-10-18 22:33:31 +02:00
committed by vanhofen
parent 5b20e70bc9
commit 91ac184c20
11 changed files with 26 additions and 12 deletions

View File

@@ -512,13 +512,13 @@ std::string CNeutrinoAPI::getAudioInfoAsString(void)
std::string CNeutrinoAPI::getCryptInfoAsString(void)
{
std::stringstream out;
std::string casys[12]= {"Irdeto:","Betacrypt:","Seca:","Viaccess:","Nagra:","Conax: ","Cryptoworks:","Videoguard:","Biss:","DreCrypt:","PowerVU:","Tandberg:"};
int caids[] = { 0x600, 0x1700, 0x0100, 0x0500, 0x1800, 0xB00, 0xD00, 0x900, 0x2600, 0x4a00, 0x0E00, 0x1000 };
std::string casys[12]= {"Irdeto:","Betacrypt:","Seca:","Viaccess:","Nagra:","Conax:","Cryptoworks:","Videoguard:","Biss:","DreCrypt:","PowerVU:","Tandberg:","Verimatrix:"};
int caids[] = { 0x600, 0x1700, 0x0100, 0x0500, 0x1800, 0xB00, 0xD00, 0x900, 0x2600, 0x4a00, 0x0E00, 0x1000, 0x5600 };
OpenThreads::ScopedPointerLock<OpenThreads::Mutex> lock(pmutex);
CZapitChannel * channel = CZapit::getInstance()->GetCurrentChannel();
if(channel) {
for (unsigned short i = 0; i < 12; i++) {
for (unsigned short i = 0; i < 13; i++) {
for(casys_map_iterator_t it = channel->camap.begin(); it != channel->camap.end(); ++it) {
int caid = (*it) & 0xFF00;
if(caid == caids[i])