mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
zapit/src/scanpmt.cpp: fix caids parse
Origin commit data
------------------
Branch: ni/coolstream
Commit: 35b124a6f8
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-02-15 (Wed, 15 Feb 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -316,6 +316,18 @@ void CPmt::MakeCAMap(casys_map_t &camap)
|
||||
camap.insert(d->getCaSystemId());
|
||||
}
|
||||
}
|
||||
const ElementaryStreamInfoList * eslist = pmt.getEsInfo();
|
||||
ElementaryStreamInfoConstIterator it;
|
||||
for (it = eslist->begin(); it != eslist->end(); ++it) {
|
||||
ElementaryStreamInfo *esinfo = *it;
|
||||
const DescriptorList * dlist = esinfo->getDescriptors();
|
||||
for (dit = dlist->begin(); dit != dlist->end(); ++dit) {
|
||||
if ((*dit)->getTag() == CA_DESCRIPTOR ) {
|
||||
CaDescriptor * d = (CaDescriptor*) *dit;
|
||||
camap.insert(d->getCaSystemId());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
bool CPmt::haveCaSys(int pmtpid, int service_id )
|
||||
|
Reference in New Issue
Block a user