1
0
mirror of https://github.com/rofafor/vdr-plugin-satip.git synced 2023-10-10 13:37:42 +02:00

Documented CI extension parameters.

This commit is contained in:
Rolf Ahrenberg 2015-01-07 17:45:48 +02:00
parent 0d52649dbd
commit 791767f02b

View File

@ -406,8 +406,13 @@ bool cSatipTuner::UpdatePids(bool forceP)
uri = cString::sprintf("%s%sdelpids=%s", *uri, addPidsM.Size() ? "&" : "?", *delPidsM.ListPids());
}
if (usexpmt) {
// CI extension parameters:
// - x_pmt : specifies the PMT of the service you want the CI to decode
// - x_ci : specfies which CI slot (1..n) to use
// value 0 releases the CI slot
// CI slot released automatically if the stream is released,
// but not when used retuning to another channel
int pid = deviceM->GetPmtPid();
// issue TS rerouting only on pid changes
if ((pid > 0) && (pid != pmtPidM))
uri = cString::sprintf("%s&x_pmt=%d", *uri, pid);
pmtPidM = pid;