diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2003-02-02 15:49:52 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2003-02-02 15:49:52 +0100 |
commit | b7777e230c82ddc9f7ce6bd309ac70cc9216e834 (patch) | |
tree | fa7e33ac7fd22779a192f4da5fb9b1ee25a5ec71 /dvbdevice.c | |
parent | 5693873b9b010124c33b8bc725fe178c3ca3a4f1 (diff) | |
download | vdr-b7777e230c82ddc9f7ce6bd309ac70cc9216e834.tar.gz vdr-b7777e230c82ddc9f7ce6bd309ac70cc9216e834.tar.bz2 |
Improved CAM handling1.1.23
Diffstat (limited to 'dvbdevice.c')
-rw-r--r-- | dvbdevice.c | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/dvbdevice.c b/dvbdevice.c index 2e12f260..1ffe067a 100644 --- a/dvbdevice.c +++ b/dvbdevice.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbdevice.c 1.41 2003/01/06 14:44:27 kls Exp $ + * $Id: dvbdevice.c 1.42 2003/02/02 15:31:31 kls Exp $ */ #include "dvbdevice.h" @@ -263,22 +263,15 @@ void cDvbTuner::Action(void) int length = cSIProcessor::GetCaDescriptors(channel.Source(), channel.Frequency(), channel.Sid(), sizeof(buffer), buffer); if (length > 0) { cCiCaPmt CaPmt(channel.Sid()); - if (channel.Vpid()) { + CaPmt.AddCaDescriptor(length, buffer); + if (channel.Vpid()) CaPmt.AddPid(channel.Vpid()); - CaPmt.AddCaDescriptor(length, buffer); - } - if (channel.Apid1()) { + if (channel.Apid1()) CaPmt.AddPid(channel.Apid1()); - CaPmt.AddCaDescriptor(length, buffer); - } - if (channel.Apid2()) { + if (channel.Apid2()) CaPmt.AddPid(channel.Apid2()); - CaPmt.AddCaDescriptor(length, buffer); - } - if (channel.Dpid1()) { + if (channel.Dpid1()) CaPmt.AddPid(channel.Dpid1()); - CaPmt.AddCaDescriptor(length, buffer); - } caSet = ciHandler->SetCaPmt(CaPmt); } } |