mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
fix cryptoinfo
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@348 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: 29ebf23541
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-02-15 (Mon, 15 Feb 2010)
Origin message was:
------------------
-fix cryptoinfo
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@348 e54a6e83-5905-42d5-8d5c-058d10e6a962
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1770,7 +1770,6 @@ void CInfoViewer::paint_ca_icons(int caid, char * icon)
|
||||
sprintf(buf, "%s_%s", "biss", icon);
|
||||
break;
|
||||
case 0x600:
|
||||
case 0x602:
|
||||
case 0x1700:
|
||||
px = endx - 48 - 38 - 6*10 - 4*14 - 10;
|
||||
sprintf(buf, "%s_%s", "ird", icon);
|
||||
@@ -1784,7 +1783,6 @@ void CInfoViewer::paint_ca_icons(int caid, char * icon)
|
||||
sprintf(buf, "%s_%s", "via", icon);
|
||||
break;
|
||||
case 0x1800:
|
||||
case 0x1801:
|
||||
px = endx - 48 - 38 - 3*10 - 2*14;
|
||||
sprintf(buf, "%s_%s", "nagra", icon);
|
||||
break;
|
||||
@@ -1824,10 +1822,10 @@ void CInfoViewer::showIcon_CA_Status (int notfirst)
|
||||
extern int pmt_caids[4][11];
|
||||
int i;
|
||||
int caids[] = { 0x600, 0x1700, 0x0100, 0x0500, 0x1800, 0xB00, 0xD00, 0x900, 0x2600, 0x4a00, 0x0E00 };
|
||||
|
||||
if (!notfirst) {
|
||||
for (i=0; i < (int)(sizeof(caids)/sizeof(int)); i++) {
|
||||
paint_ca_icons(caids[i], (char *) (pmt_caids[0][i] ? white : gray));
|
||||
if(!(i == 1 && pmt_caids[0][0] != 0 && pmt_caids[0][1] == 0 ))
|
||||
paint_ca_icons(caids[i], (char *) (pmt_caids[0][i] ? white : gray));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -673,7 +673,6 @@ void CStreamInfo2::paintCASystem(int xpos, int ypos)
|
||||
{
|
||||
extern int pmt_caids[4][11];
|
||||
unsigned short i,j;
|
||||
bool ecm_pid_ok = true;
|
||||
std::string casys[11]={"Irdeto:","Betacrypt:","Seca:","Viaccess:","Nagra:","Conax: ","Cryptoworks:","Videoguard:","EBU:","XCrypt:","PowerVU:"};
|
||||
bool caids[11] ={ false, false, false, false, false, false, false, false, false, false, false };
|
||||
char tmp[100] = {0};
|
||||
@@ -828,7 +827,6 @@ void CStreamInfo2::paintCASystem(int xpos, int ypos)
|
||||
}
|
||||
caids[i] = true;
|
||||
}
|
||||
ecm_pid_ok = true;
|
||||
}
|
||||
}
|
||||
int spaceoffset = 0 ;
|
||||
|
@@ -360,7 +360,7 @@ int parse_pmt(CZapitChannel * const channel)
|
||||
/* current position in buffer */
|
||||
unsigned short i,j;
|
||||
for(j=0;j<4;j++){
|
||||
for(i=0;i<10;i++)
|
||||
for(i=0;i<11;i++)
|
||||
pmt_caids[j][i] = 0;
|
||||
}
|
||||
/* length of elementary stream description */
|
||||
|
Reference in New Issue
Block a user