summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-02-09 12:43:39 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2003-02-09 12:43:39 +0100
commita6a25e48bf64c47a14089ac2701017f8f51fea35 (patch)
treed93a0bb2f7d050ebec4a603f82ca302923fe2f9d
parent777f330c77a0b66e4f3af3d62b840c46d44a702d (diff)
downloadvdr-a6a25e48bf64c47a14089ac2701017f8f51fea35.tar.gz
vdr-a6a25e48bf64c47a14089ac2701017f8f51fea35.tar.bz2
Turning SI filtering off and on when switching channels
-rw-r--r--HISTORY1
-rw-r--r--dvbdevice.c14
2 files changed, 10 insertions, 5 deletions
diff --git a/HISTORY b/HISTORY
index 161f054e..a508943e 100644
--- a/HISTORY
+++ b/HISTORY
@@ -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.
diff --git a/dvbdevice.c b/dvbdevice.c
index 01d828fa..e587f69b 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.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;
}