diff options
author | Tobias Grimm <tobias@e-tobi.loc> | 2009-04-23 22:05:35 +0200 |
---|---|---|
committer | Tobias Grimm <tobias@e-tobi.loc> | 2009-06-20 18:17:42 +0200 |
commit | 4de3caa67369af756d2ef008ad26453c9c4065ad (patch) | |
tree | bcb6573d7cb90b1a63303205b3c3a898c6c62a9d /remux.h | |
parent | 656e4190a147f97978bf324107a4008c79a18fe0 (diff) | |
download | vdr-patches-4de3caa67369af756d2ef008ad26453c9c4065ad.tar.gz vdr-patches-4de3caa67369af756d2ef008ad26453c9c4065ad.tar.bz2 |
ttxtsubs: Added (subtitle) teletext pids to cPatPmtGenerator
(provided by Rolf Ahrenberg)
Diffstat (limited to 'remux.h')
-rw-r--r-- | remux.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -169,6 +169,7 @@ protected: int MakeStream(uchar *Target, uchar Type, int Pid); int MakeAC3Descriptor(uchar *Target); int MakeSubtitlingDescriptor(uchar *Target, const char *Language); + int MakeTeletextDescriptor(uchar *Target, cChannel *Channel); int MakeLanguageDescriptor(uchar *Target, const char *Language); int MakeCRC(uchar *Target, const uchar *Data, int Length); void GeneratePmtPid(cChannel *Channel); @@ -214,6 +215,7 @@ private: int vpid; int vtype; bool updatePrimaryDevice; + int tpid; protected: int SectionLength(const uchar *Data, int Length) { return (Length >= 3) ? ((int(Data[1]) & 0x0F) << 8)| Data[2] : 0; } public: @@ -240,6 +242,7 @@ public: int Vpid(void) { return vpid; } ///< Returns the video pid as defined by the current PMT. int Vtype(void) { return vtype; } + int Tpid(void) { return tpid; } }; // TS to PES converter: |