summaryrefslogtreecommitdiff
path: root/channels.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/channels.c b/channels.c
index 1e85700..fb5bd84 100644
--- a/channels.c
+++ b/channels.c
@@ -533,6 +533,15 @@ void cChannel::SetPids(int Vpid, int Ppid, int Vtype, int *Apids, char ALangs[][
}
}
+void cChannel::SetTPidData(char TLangs[][MAXLANGCODE2], int TPages[])
+{
+ for (int i = 0; i < MAXTPAGES; i++) {
+ tpages[i] = TPages[i];
+ strn0cpy(tlangs[i], TLangs[i], MAXLANGCODE2);
+ }
+ tpages[MAXTPAGES] = 0;
+}
+
void cChannel::SetCaIds(const int *CaIds)
{
if (caids[0] && caids[0] <= CA_USER_MAX)