diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2003-02-09 12:43:39 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2003-02-09 12:43:39 +0100 |
commit | a6a25e48bf64c47a14089ac2701017f8f51fea35 (patch) | |
tree | d93a0bb2f7d050ebec4a603f82ca302923fe2f9d /dvbdevice.c | |
parent | 777f330c77a0b66e4f3af3d62b840c46d44a702d (diff) | |
download | vdr-a6a25e48bf64c47a14089ac2701017f8f51fea35.tar.gz vdr-a6a25e48bf64c47a14089ac2701017f8f51fea35.tar.bz2 |
Turning SI filtering off and on when switching channels
Diffstat (limited to 'dvbdevice.c')
-rw-r--r-- | dvbdevice.c | 14 |
1 files changed, 9 insertions, 5 deletions
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; } |