diff options
author | etobi <git@e-tobi.net> | 2010-02-12 22:06:19 +0100 |
---|---|---|
committer | etobi <git@e-tobi.net> | 2010-04-18 02:42:59 +0200 |
commit | 62912232e2b38a1857c0ff279bd61579b1ab85ae (patch) | |
tree | 7bacce184e6c35e365940f26c8505a789d9f74e3 /remux.h | |
parent | 1f4d9228ae8b7b615c347acc3f5903fb038eb380 (diff) | |
download | vdr-patches-62912232e2b38a1857c0ff279bd61579b1ab85ae.tar.gz vdr-patches-62912232e2b38a1857c0ff279bd61579b1ab85ae.tar.bz2 |
Capture teletext subtitle pages from PMT
Diffstat (limited to 'remux.h')
-rw-r--r-- | remux.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -216,6 +216,7 @@ private: int vpid; int ppid; int vtype; + int tpid; int apids[MAXAPIDS + 1]; // list is zero-terminated int atypes[MAXAPIDS + 1]; // list is zero-terminated char alangs[MAXAPIDS][MAXLANGCODE2]; @@ -262,6 +263,9 @@ public: int Vtype(void) const { return vtype; } ///< Returns the video stream type as defined by the current PMT, or 0 if no video ///< stream type has been detected, yet. + int Tpid(void) { return tpid; } + ///< Returns the teletext pid as defined by the current PMT, or 0 if no teletext + ///< pid has been detected, yet. const int *Apids(void) const { return apids; } const int *Dpids(void) const { return dpids; } const int *Spids(void) const { return spids; } @@ -276,6 +280,7 @@ public: uchar SubtitlingType(int i) const { return (0 <= i && i < MAXSPIDS) ? subtitlingTypes[i] : uchar(0); } uint16_t CompositionPageId(int i) const { return (0 <= i && i < MAXSPIDS) ? compositionPageIds[i] : uint16_t(0); } uint16_t AncillaryPageId(int i) const { return (0 <= i && i < MAXSPIDS) ? ancillaryPageIds[i] : uint16_t(0); } + const tTeletextSubtitlePage* TeletextSubtitlePages() const { return teletextSubtitlePages; } }; // TS to PES converter: |