summaryrefslogtreecommitdiff
path: root/patches/patch-set.1.7.21/0004-Decrypt-teletext-stream.patch
diff options
context:
space:
mode:
authorTobias Grimm <git@e-tobi.net>2011-10-08 10:00:43 +0200
committerTobias Grimm <git@e-tobi.net>2011-10-08 10:00:43 +0200
commite7c8bd88a93ec74943399f3c7b60efd00e92054d (patch)
tree17bbc6a70ac8dcd4d387fb9e1ac5f3717ea91ad8 /patches/patch-set.1.7.21/0004-Decrypt-teletext-stream.patch
parent8b674ddb04a835b23985a0362327afccb5bff509 (diff)
downloadvdr-plugin-ttxtsubs-0.2.4.tar.gz
vdr-plugin-ttxtsubs-0.2.4.tar.bz2
Updated patch for VDR 1.7.21v0.2.4release/v0.2.4
Diffstat (limited to 'patches/patch-set.1.7.21/0004-Decrypt-teletext-stream.patch')
-rw-r--r--patches/patch-set.1.7.21/0004-Decrypt-teletext-stream.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/patches/patch-set.1.7.21/0004-Decrypt-teletext-stream.patch b/patches/patch-set.1.7.21/0004-Decrypt-teletext-stream.patch
new file mode 100644
index 0000000..9abaede
--- /dev/null
+++ b/patches/patch-set.1.7.21/0004-Decrypt-teletext-stream.patch
@@ -0,0 +1,35 @@
+From e2833f1f09f24154b664e956ae31bcae6d101ce9 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.6.3
+