crypt info verimatrix added

Conflicts:
	src/gui/infoviewer_bb.cpp
This commit is contained in:
BPanther
2019-10-27 16:24:47 +01:00
committed by Thilo Graf
parent 670a6f951e
commit fd1dc556be
11 changed files with 29 additions and 13 deletions

View File

@@ -508,16 +508,18 @@ std::string CNeutrinoAPI::getAudioInfoAsString(void)
}
//-------------------------------------------------------------------------
#define NUM_CAIDS 13
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[NUM_CAIDS]= {"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 < NUM_CAIDS; i++) {
for(casys_map_iterator_t it = channel->camap.begin(); it != channel->camap.end(); ++it) {
int caid = (*it) & 0xFF00;
if(caid == caids[i])