diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-01-11 15:54:37 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-01-11 15:54:37 +0100 |
commit | 7f9d14ee8b181a999afb997d74a24b3087fd9d33 (patch) | |
tree | 8c1c2238cb7137033ae68ba7d4e32a3d7a22f548 /device.c | |
parent | 43ca916c20a72c9b47a15c460cced63b5c19c286 (diff) | |
download | vdr-7f9d14ee8b181a999afb997d74a24b3087fd9d33.tar.gz vdr-7f9d14ee8b181a999afb997d74a24b3087fd9d33.tar.bz2 |
The actual transponder data is now taken from the NIT1.3.1
Diffstat (limited to 'device.c')
-rw-r--r-- | device.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.c 1.51 2004/01/04 11:30:05 kls Exp $ + * $Id: device.c 1.52 2004/01/11 13:21:12 kls Exp $ */ #include "device.h" @@ -48,6 +48,7 @@ cDevice::cDevice(void) eitFilter = NULL; patFilter = NULL; sdtFilter = NULL; + nitFilter = NULL; ciHandler = NULL; player = NULL; @@ -69,6 +70,7 @@ cDevice::~cDevice() for (int i = 0; i < MAXRECEIVERS; i++) Detach(receiver[i]); delete ciHandler; + delete nitFilter; delete sdtFilter; delete patFilter; delete eitFilter; @@ -328,6 +330,7 @@ void cDevice::StartSectionHandler(void) AttachFilter(eitFilter = new cEitFilter); AttachFilter(patFilter = new cPatFilter); AttachFilter(sdtFilter = new cSdtFilter(patFilter)); + AttachFilter(nitFilter = new cNitFilter); sectionHandler->SetStatus(true); } } @@ -444,12 +447,12 @@ eSetChannelResult cDevice::SetChannel(const cChannel *Channel, bool LiveView) // Stop section handling: if (sectionHandler) { sectionHandler->SetStatus(false); - sectionHandler->SetSource(0, 0); + sectionHandler->SetChannel(NULL); } if (SetChannelDevice(Channel, LiveView)) { // Start section handling: if (sectionHandler) { - sectionHandler->SetSource(Channel->Source(), Channel->Transponder()); + sectionHandler->SetChannel(Channel); sectionHandler->SetStatus(true); } } |