Fixed frequency handling when setting the CA descriptors in cDvbTuner::Action()

This commit is contained in:
Klaus Schmidinger 2004-01-25 14:04:03 +01:00
parent 12fd3cdeb4
commit 3e3abc65f1
3 changed files with 7 additions and 3 deletions

View File

@ -647,6 +647,8 @@ Teemu Rantanen <tvr@iki.fi>
Jan Ekholm <chakie@infa.abo.fi> Jan Ekholm <chakie@infa.abo.fi>
for adding/improving some Swedish language OSD texts for adding/improving some Swedish language OSD texts
for reporting a compiler warning in g++ 3.2.3 regarding cReplayControl::Show() for reporting a compiler warning in g++ 3.2.3 regarding cReplayControl::Show()
for reporting and helping to debug a problem in frequency handling when setting
the CA descriptors in cDvbTuner::Action()
Marcel Wiesweg <marcel.wiesweg@gmx.de> Marcel Wiesweg <marcel.wiesweg@gmx.de>
for pointing out a problem with high CPU load during replay for pointing out a problem with high CPU load during replay

View File

@ -2611,9 +2611,11 @@ Video Disk Recorder Revision History
- Fixed setting the source type for newly detected terrestrial transponders - Fixed setting the source type for newly detected terrestrial transponders
(thanks to Christian Tramnitz for his support in debugging this). (thanks to Christian Tramnitz for his support in debugging this).
2004-01-24: Version 1.3.3 2004-01-25: Version 1.3.3
- Completed the Finnish OSD texts (thanks to Rolf Ahrenberg). - Completed the Finnish OSD texts (thanks to Rolf Ahrenberg).
- Added ISO639LanguageDescriptor to 'libsi'. - Added ISO639LanguageDescriptor to 'libsi'.
- Changed the 'languageCode' members in the descriptor classes of 'libsi' to - Changed the 'languageCode' members in the descriptor classes of 'libsi' to
'char[4]' and setting the 4th byte to 0 for easier handling. 'char[4]' and setting the 4th byte to 0 for easier handling.
- Fixed frequency handling when setting the CA descriptors in cDvbTuner::Action()
(thanks to Jan Ekholm for reporting and helping to debug this one).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: dvbdevice.c 1.78 2004/01/10 12:21:41 kls Exp $ * $Id: dvbdevice.c 1.79 2004/01/25 13:50:21 kls Exp $
*/ */
#include "dvbdevice.h" #include "dvbdevice.h"
@ -272,7 +272,7 @@ void cDvbTuner::Action(void)
if (ciHandler->Process() && useCa) { if (ciHandler->Process() && useCa) {
if (tunerStatus == tsLocked) { if (tunerStatus == tsLocked) {
for (int Slot = 0; Slot < ciHandler->NumSlots(); Slot++) { for (int Slot = 0; Slot < ciHandler->NumSlots(); Slot++) {
cCiCaPmt CaPmt(channel.Source(), channel.Frequency(), channel.Sid(), ciHandler->GetCaSystemIds(Slot)); cCiCaPmt CaPmt(channel.Source(), channel.Transponder(), channel.Sid(), ciHandler->GetCaSystemIds(Slot));
if (CaPmt.Valid()) { if (CaPmt.Valid()) {
CaPmt.AddPid(channel.Vpid(), 2); CaPmt.AddPid(channel.Vpid(), 2);
CaPmt.AddPid(channel.Apid1(), 4); CaPmt.AddPid(channel.Apid1(), 4);