get_ca_multiple_pmt() was called on the stream adapter, not the CI adapter (introduced in https://github.com/catalinii/minisatip/pull/1026). Thus it would always return 0 and all PIDs would unconditionally be added to the DDCI PMT.
Furthermore, after fixing that bug, it turned out that the logic in CAPMT_add_PMT() was not necessary - the PMT given to the function will be the DD CI PMT and it will simply not contain any unwanted PIDs, so there's no filtering needed there.
I've updated the web interface to show PIDs for CI adapters too. There's still some improvements to be made there - currently it shows all PIDs, including excluded ones.
get_ca_multiple_pmt()
was called on the stream adapter, not the CI adapter (introduced in https://github.com/catalinii/minisatip/pull/1026). Thus it would always return 0 and all PIDs would unconditionally be added to the DDCI PMT.Furthermore, after fixing that bug, it turned out that the logic in
CAPMT_add_PMT()
was not necessary - the PMT given to the function will be the DD CI PMT and it will simply not contain any unwanted PIDs, so there's no filtering needed there.I've updated the web interface to show PIDs for CI adapters too. There's still some improvements to be made there - currently it shows all PIDs, including excluded ones.