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>2010-04-18 02:41:10 +0200
commitfd637029c261367a1112c29bbe991b7b991384f8 (patch)
tree0191a33f23f44457d01632b9de3715765d03ac51 /remux.h
parent1eb12b4973033212b39a53249d8fb452e6914a8a (diff)
downloadvdr-patches-fd637029c261367a1112c29bbe991b7b991384f8.tar.gz
vdr-patches-fd637029c261367a1112c29bbe991b7b991384f8.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 1115c4a..5ee6722 100644
--- a/remux.h
+++ b/remux.h
@@ -170,6 +170,7 @@ protected:
int MakeStream(uchar *Target, uchar Type, int Pid);
int MakeAC3Descriptor(uchar *Target);
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);
@@ -227,6 +228,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: