summaryrefslogtreecommitdiff
path: root/patches/patch-set.1.7.20/0004-Decrypt-teletext-stream.patch
diff options
context:
space:
mode:
authorTobias Grimm <git@e-tobi.net>2011-08-21 13:52:51 +0200
committerTobias Grimm <git@e-tobi.net>2011-08-21 13:52:51 +0200
commitf5b8f448c0844595fc4f5c2e1da985aa9fe977cb (patch)
tree46dadcc54b08ff543e73d7d240448199cb9d0296 /patches/patch-set.1.7.20/0004-Decrypt-teletext-stream.patch
parent95c87c5080ecf35ccef0ffffaa363f6b3f271112 (diff)
downloadvdr-plugin-ttxtsubs-f5b8f448c0844595fc4f5c2e1da985aa9fe977cb.tar.gz
vdr-plugin-ttxtsubs-f5b8f448c0844595fc4f5c2e1da985aa9fe977cb.tar.bz2
Updated patch for VDR 1.7.20 (Closes #689)
Diffstat (limited to 'patches/patch-set.1.7.20/0004-Decrypt-teletext-stream.patch')
-rw-r--r--patches/patch-set.1.7.20/0004-Decrypt-teletext-stream.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/patches/patch-set.1.7.20/0004-Decrypt-teletext-stream.patch b/patches/patch-set.1.7.20/0004-Decrypt-teletext-stream.patch
new file mode 100644
index 0000000..f92a5ae
--- /dev/null
+++ b/patches/patch-set.1.7.20/0004-Decrypt-teletext-stream.patch
@@ -0,0 +1,35 @@
+From ac44ba83d8bfdd36fc41d42947c09e365e5f33b1 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 files changed, 5 insertions(+), 0 deletions(-)
+
+diff --git a/ci.c b/ci.c
+index 59d62ef..b024f67 100644
+--- a/ci.c
++++ b/ci.c
+@@ -1913,6 +1913,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);
+ }
+ }
+
+@@ -1936,6 +1938,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.5.4
+