summaryrefslogtreecommitdiff
path: root/remux.h
diff options
context:
space:
mode:
authoretobi <git@e-tobi.net>2010-02-12 21:55:04 +0100
committeretobi <git@e-tobi.net>2013-03-10 12:04:12 +0100
commita932f6d2b2569e64d7fc56b5f128917709ff5a8c (patch)
tree13f4305423ae014c62d17b05cf1fff1217ab1cb9 /remux.h
parent4c59501a6b52816000d6c483fae619ebccfcdc9b (diff)
downloadvdr-patches-a932f6d2b2569e64d7fc56b5f128917709ff5a8c.tar.gz
vdr-patches-a932f6d2b2569e64d7fc56b5f128917709ff5a8c.tar.bz2
Record teletext subtitles
Diffstat (limited to 'remux.h')
-rw-r--r--remux.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/remux.h b/remux.h
index 67eda4c..4cef4da 100644
--- a/remux.h
+++ b/remux.h
@@ -294,6 +294,7 @@ protected:
int MakeStream(uchar *Target, uchar Type, int Pid);
int MakeAC3Descriptor(uchar *Target, uchar Type);
int MakeSubtitlingDescriptor(uchar *Target, const char *Language, uchar SubtitlingType, uint16_t CompositionPageId, uint16_t AncillaryPageId);
+ int MakeTeletextDescriptor(uchar *Target, const tTeletextSubtitlePage *pages, int pageCount);
int MakeLanguageDescriptor(uchar *Target, const char *Language);
int MakeCRC(uchar *Target, const uchar *Data, int Length);
void GeneratePmtPid(const cChannel *Channel);
@@ -353,6 +354,8 @@ private:
uint16_t compositionPageIds[MAXSPIDS];
uint16_t ancillaryPageIds[MAXSPIDS];
bool updatePrimaryDevice;
+ int totalTtxtSubtitlePages;
+ tTeletextSubtitlePage teletextSubtitlePages[MAXTXTPAGES];
protected:
int SectionLength(const uchar *Data, int Length) { return (Length >= 3) ? ((int(Data[1]) & 0x0F) << 8)| Data[2] : 0; }
public: