mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
vuplus: relevant pids routing
This commit is contained in:
@@ -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
|
||||
|
@@ -332,6 +332,8 @@ public:
|
||||
#if BOXMODEL_VUPLUS
|
||||
/// dvb wait delay for ci response
|
||||
void SetCIDelay(int Delay);
|
||||
/// relevant pids routing
|
||||
void SetCIRelevantPidsRouting(bool RPR, int slot = 0);
|
||||
#endif
|
||||
|
||||
/// Start the CA module
|
||||
|
Reference in New Issue
Block a user