vuplus: relevant pids routing

This commit is contained in:
BPanther
2020-01-18 00:00:23 +01:00
committed by Thilo Graf
parent c14601465a
commit f14212783b
2 changed files with 15 additions and 0 deletions

View File

@@ -1948,4 +1948,17 @@ void cCA::SetCIDelay(int Delay)
fclose(ci);
}
}
void cCA::SetCIRelevantPidsRouting(bool RPR, int slot)
{
char buf[64];
snprintf(buf, 64, "/proc/stb/tsmux/ci%d_relevant_pids_routing", slot);
FILE *ci = fopen(buf, "wb");
printf("%s -> %s to: %b\n", FILENAME, __func__, RPR);
if (ci)
{
fprintf(ci, "%i", RPR == true ? "yes" : "no");
fclose(ci);
}
}
#endif