diff options
author | Tobias Grimm <git@e-tobi.net> | 2010-02-14 01:34:57 +0100 |
---|---|---|
committer | Tobias Grimm <git@e-tobi.net> | 2010-02-14 01:34:57 +0100 |
commit | 5bff1274f6578f82c7cbe60e3b6de9c67727f26d (patch) | |
tree | 59f5d6d7ee5983e18df480756e9b0dad8a37c7a3 /patches/vdr-1.7.12-ttxtsubs.patch | |
parent | 9625163a48934d8b237525cde1d67ce7a402f84f (diff) | |
download | vdr-plugin-ttxtsubs-5bff1274f6578f82c7cbe60e3b6de9c67727f26d.tar.gz vdr-plugin-ttxtsubs-5bff1274f6578f82c7cbe60e3b6de9c67727f26d.tar.bz2 |
Decrypt encrypted teletext stream (Closes #241)
Diffstat (limited to 'patches/vdr-1.7.12-ttxtsubs.patch')
-rw-r--r-- | patches/vdr-1.7.12-ttxtsubs.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/vdr-1.7.12-ttxtsubs.patch b/patches/vdr-1.7.12-ttxtsubs.patch index fb85ffb..113e14a 100644 --- a/patches/vdr-1.7.12-ttxtsubs.patch +++ b/patches/vdr-1.7.12-ttxtsubs.patch @@ -177,6 +177,20 @@ index b465f6a..1ddef40 100644 void SetCaIds(const int *CaIds); // list must be zero-terminated void SetCaDescriptors(int Level); void SetLinkChannels(cLinkChannels *LinkChannels); +diff --git a/ci.c b/ci.c +index 6c7b031..f158a18 100644 +--- a/ci.c ++++ b/ci.c +@@ -1932,6 +1932,9 @@ bool cCamSlot::CanDecrypt(const cChannel *Channel) + CaPmt.AddPid(*Apid, STREAM_TYPE_AUDIO); + for (const int *Dpid = Channel->Dpids(); *Dpid; Dpid++) + CaPmt.AddPid(*Dpid, STREAM_TYPE_DOLBY); ++ if (Channel->Tpid() && Setup.RecordTtxtSubtitles) { ++ CaPmt.AddPid(Channel->Tpid(), STREAM_TYPE_DOLBY); // FIXME: STREAM_TYPE_DOLBY should probably be renamed STREAM_TYPE_PRIVATE ++ } + cas->SendPMT(&CaPmt); + cTimeMs Timeout(QUERY_REPLY_TIMEOUT); + do { diff --git a/config.c b/config.c index acdf4c4..4aaf720 100644 --- a/config.c |