summaryrefslogtreecommitdiff
path: root/patches/patch-set/0004-Decrypt-teletext-stream.patch
diff options
context:
space:
mode:
authorTobias Grimm <git@e-tobi.net>2010-02-14 01:34:57 +0100
committerTobias Grimm <git@e-tobi.net>2010-02-14 01:34:57 +0100
commit5bff1274f6578f82c7cbe60e3b6de9c67727f26d (patch)
tree59f5d6d7ee5983e18df480756e9b0dad8a37c7a3 /patches/patch-set/0004-Decrypt-teletext-stream.patch
parent9625163a48934d8b237525cde1d67ce7a402f84f (diff)
downloadvdr-plugin-ttxtsubs-5bff1274f6578f82c7cbe60e3b6de9c67727f26d.tar.gz
vdr-plugin-ttxtsubs-5bff1274f6578f82c7cbe60e3b6de9c67727f26d.tar.bz2
Decrypt encrypted teletext stream (Closes #241)
Diffstat (limited to 'patches/patch-set/0004-Decrypt-teletext-stream.patch')
-rw-r--r--patches/patch-set/0004-Decrypt-teletext-stream.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/patches/patch-set/0004-Decrypt-teletext-stream.patch b/patches/patch-set/0004-Decrypt-teletext-stream.patch
new file mode 100644
index 0000000..7eb732f
--- /dev/null
+++ b/patches/patch-set/0004-Decrypt-teletext-stream.patch
@@ -0,0 +1,26 @@
+From 047e1fc5c4e7f6b4b987f3d19dba963d60126d55 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 | 3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+
+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 {
+--
+1.6.5
+