diff options
author | Tobias Grimm <git@e-tobi.net> | 2010-02-14 18:51:25 +0100 |
---|---|---|
committer | Tobias Grimm <git@e-tobi.net> | 2010-02-14 18:51:25 +0100 |
commit | 35e75af67d6f13893c0301b5b88eb7b27f147bba (patch) | |
tree | 2b58847b6f18df154fe221ec6cf2be900c2d538d /patches/patch-set/0004-Decrypt-teletext-stream.patch | |
parent | 5bff1274f6578f82c7cbe60e3b6de9c67727f26d (diff) | |
download | vdr-plugin-ttxtsubs-35e75af67d6f13893c0301b5b88eb7b27f147bba.tar.gz vdr-plugin-ttxtsubs-35e75af67d6f13893c0301b5b88eb7b27f147bba.tar.bz2 |
Updated patch:
- fixed teletext decryption (Closes #241)
- Renamed setup option
Diffstat (limited to 'patches/patch-set/0004-Decrypt-teletext-stream.patch')
-rw-r--r-- | patches/patch-set/0004-Decrypt-teletext-stream.patch | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/patches/patch-set/0004-Decrypt-teletext-stream.patch b/patches/patch-set/0004-Decrypt-teletext-stream.patch index 7eb732f..04ce9c6 100644 --- a/patches/patch-set/0004-Decrypt-teletext-stream.patch +++ b/patches/patch-set/0004-Decrypt-teletext-stream.patch @@ -1,21 +1,30 @@ -From 047e1fc5c4e7f6b4b987f3d19dba963d60126d55 Mon Sep 17 00:00:00 2001 +From 40f30d2e5ab735443071c61b5458b1d4fe9f5f89 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(-) + ci.c | 5 +++++ + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/ci.c b/ci.c -index 6c7b031..f158a18 100644 +index 6c7b031..22fda9f 100644 --- a/ci.c +++ b/ci.c -@@ -1932,6 +1932,9 @@ bool cCamSlot::CanDecrypt(const cChannel *Channel) +@@ -1911,6 +1911,8 @@ void cCamSlot::AddChannel(const cChannel *Channel) + AddPid(Channel->Sid(), *Apid, STREAM_TYPE_AUDIO); + for (const int *Dpid = Channel->Dpids(); *Dpid; Dpid++) + AddPid(Channel->Sid(), *Dpid, STREAM_TYPE_DOLBY); ++ if (Channel->Tpid() && Setup.SupportTeletext) ++ AddPid(Channel->Sid(), Channel->Tpid(), STREAM_TYPE_DOLBY); + } + } + +@@ -1932,6 +1934,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) { ++ if (Channel->Tpid() && Setup.SupportTeletext) { + CaPmt.AddPid(Channel->Tpid(), STREAM_TYPE_DOLBY); // FIXME: STREAM_TYPE_DOLBY should probably be renamed STREAM_TYPE_PRIVATE + } cas->SendPMT(&CaPmt); |