summaryrefslogtreecommitdiff
path: root/patches/patch-set.1.7.38/0004-Decrypt-teletext-stream.patch
diff options
context:
space:
mode:
authorTobias Grimm <git@e-tobi.net>2013-03-10 12:47:32 +0100
committerTobias Grimm <git@e-tobi.net>2013-03-10 13:14:05 +0100
commitf4204840f538e914541f43f23ce8bc94d3fc19aa (patch)
tree25ea9d7bd6ba927dc7e1ba8e3c6bb0a614387b6a /patches/patch-set.1.7.38/0004-Decrypt-teletext-stream.patch
parentc8d5d2f4aec922c001ff011f422317a228dcdde4 (diff)
downloadvdr-plugin-ttxtsubs-f4204840f538e914541f43f23ce8bc94d3fc19aa.tar.gz
vdr-plugin-ttxtsubs-f4204840f538e914541f43f23ce8bc94d3fc19aa.tar.bz2
Updated patch-set
Diffstat (limited to 'patches/patch-set.1.7.38/0004-Decrypt-teletext-stream.patch')
-rw-r--r--patches/patch-set.1.7.38/0004-Decrypt-teletext-stream.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/patches/patch-set.1.7.38/0004-Decrypt-teletext-stream.patch b/patches/patch-set.1.7.38/0004-Decrypt-teletext-stream.patch
new file mode 100644
index 0000000..c79667d
--- /dev/null
+++ b/patches/patch-set.1.7.38/0004-Decrypt-teletext-stream.patch
@@ -0,0 +1,35 @@
+From 71d770ce0c87238044a34dfc6fd4d25846e2eeb6 Mon Sep 17 00:00:00 2001
+From: etobi <git@e-tobi.net>
+Date: Sun, 14 Feb 2010 01:30:34 +0100
+Subject: [PATCH 4/6] Decrypt teletext stream
+
+---
+ ci.c | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/ci.c b/ci.c
+index 9a4a829..ec84027 100644
+--- a/ci.c
++++ b/ci.c
+@@ -1914,6 +1914,8 @@ void cCamSlot::AddChannel(const cChannel *Channel)
+ AddPid(Channel->Sid(), *Dpid, STREAM_TYPE_PRIVATE);
+ for (const int *Spid = Channel->Spids(); *Spid; Spid++)
+ AddPid(Channel->Sid(), *Spid, STREAM_TYPE_PRIVATE);
++ if (Channel->Tpid() && Setup.SupportTeletext)
++ AddPid(Channel->Sid(), Channel->Tpid(), STREAM_TYPE_PRIVATE);
+ }
+ }
+
+@@ -1937,6 +1939,9 @@ bool cCamSlot::CanDecrypt(const cChannel *Channel)
+ CaPmt.AddPid(*Dpid, STREAM_TYPE_PRIVATE);
+ for (const int *Spid = Channel->Spids(); *Spid; Spid++)
+ CaPmt.AddPid(*Spid, STREAM_TYPE_PRIVATE);
++ if (Channel->Tpid() && Setup.SupportTeletext) {
++ CaPmt.AddPid(Channel->Tpid(), STREAM_TYPE_PRIVATE);
++ }
+ cas->SendPMT(&CaPmt);
+ cTimeMs Timeout(QUERY_REPLY_TIMEOUT);
+ do {
+--
+1.7.10.4
+