diff options
author | etobi <git@e-tobi.net> | 2010-02-14 01:30:34 +0100 |
---|---|---|
committer | etobi <git@e-tobi.net> | 2010-03-06 12:07:53 +0100 |
commit | 5f0ee2041702bfd3fe49f8f27435d6326fa109ab (patch) | |
tree | 3d7ec4c66a9b6098ed77ba189e441dedb78530ec | |
parent | 19e71eee0866619d5447c999a60a0fc2afdfe1ac (diff) | |
download | vdr-patches-5f0ee2041702bfd3fe49f8f27435d6326fa109ab.tar.gz vdr-patches-5f0ee2041702bfd3fe49f8f27435d6326fa109ab.tar.bz2 |
Decrypt teletext stream
-rw-r--r-- | ci.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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.SupportTeletext) { + 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 { |