1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Turning SI filtering off and on when switching channels

This commit is contained in:
Klaus Schmidinger 2003-02-09 12:43:39 +01:00
parent 777f330c77
commit a6a25e48bf
2 changed files with 10 additions and 5 deletions

View File

@ -1953,3 +1953,4 @@ Video Disk Recorder Revision History
- Improved CAM handling (thanks to Reinhard Walter Buchner for a great deal of help
in debugging this). It is now possible to insert the CAM in any of the two slots,
to insert and remove it while VDR is running and even to have two CAMs inserted.
- Turning SI filtering off and on when switching channels.

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: dvbdevice.c 1.43 2003/02/09 11:47:02 kls Exp $
* $Id: dvbdevice.c 1.44 2003/02/09 12:41:14 kls Exp $
*/
#include "dvbdevice.h"
@ -622,10 +622,12 @@ bool cDvbDevice::SetChannelDevice(const cChannel *Channel, bool LiveView)
StartTransferMode = false;
#endif
// Stop setting system time:
// Stop SI filtering:
if (siProcessor)
if (siProcessor) {
siProcessor->SetCurrentTransponder(0, 0);
siProcessor->SetStatus(false);
}
// Turn off live PIDs if necessary:
@ -674,10 +676,12 @@ bool cDvbDevice::SetChannelDevice(const cChannel *Channel, bool LiveView)
else if (StartTransferMode)
cControl::Launch(new cTransferControl(this, Channel->Vpid(), Channel->Apid1(), Channel->Apid2(), Channel->Dpid1(), Channel->Dpid2()));
// Start setting system time:
// Start SI filtering:
if (siProcessor)
if (siProcessor) {
siProcessor->SetCurrentTransponder(Channel->Source(), Channel->Frequency());
siProcessor->SetStatus(true);
}
return true;
}