diff options
author | Tobias Grimm <tobias@e-tobi.loc> | 2009-04-24 00:39:34 +0200 |
---|---|---|
committer | Tobias Grimm <tobias@e-tobi.loc> | 2009-06-20 17:40:07 +0200 |
commit | 656e4190a147f97978bf324107a4008c79a18fe0 (patch) | |
tree | 4b3878d22907e32b3d25a87c23a2d944295efc1e /channels.c | |
parent | 37f9027dd64cb2f96ad5b1f397aa2b5102bd07ac (diff) | |
download | vdr-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.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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) |