summaryrefslogtreecommitdiff
path: root/channels.c
diff options
context:
space:
mode:
authorTobias Grimm <tobias@e-tobi.loc>2009-04-24 00:39:34 +0200
committerTobias Grimm <tobias@e-tobi.loc>2009-06-20 17:40:07 +0200
commit656e4190a147f97978bf324107a4008c79a18fe0 (patch)
tree4b3878d22907e32b3d25a87c23a2d944295efc1e /channels.c
parent37f9027dd64cb2f96ad5b1f397aa2b5102bd07ac (diff)
downloadvdr-patches-656e4190a147f97978bf324107a4008c79a18fe0.tar.gz
vdr-patches-656e4190a147f97978bf324107a4008c79a18fe0.tar.bz2
ttxtsubs: Store subtitle teletext pages in channel data to be used by the cPatPmtGenerator
(provided by Rolf Ahrenberg)
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)