capmt: fix numbering services after a686fe3
The commit fixes simultaneous channel decryption. We are enumerating services based on the generated seq value. In fact it should be elementary stream PID, but currently we can leave it until PMT code rework. The CA_SET_PID and CA_SET_DESCR from OSCam was always set with seq=0 leading to setting all keys always to first subscribed service.
This commit is contained in:
parent
a02d9f8625
commit
a20fc729a8
1 changed files with 1 additions and 0 deletions
|
@ -1001,6 +1001,7 @@ capmt_service_start(service_t *s)
|
|||
tvhcsa_init(&ct->ct_csa);
|
||||
ct->ct_capmt = capmt;
|
||||
ct->ct_service = t;
|
||||
ct->ct_seq = capmt->capmt_seq++;
|
||||
|
||||
|
||||
TAILQ_FOREACH(st, &t->s_components, es_link) {
|
||||
|
|
Loading…
Add table
Reference in a new issue