diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2010-02-07 13:21:05 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2010-02-07 13:21:05 +0100 |
commit | 1d2eef218baeb7f5a5cea4308fc99328601cbf64 (patch) | |
tree | 7175c285b8b12a99355d53af3ff675fc371f82c0 | |
parent | 08e05d3fcda73c05d6553d110376b5882e9b1837 (diff) | |
download | vdr-1d2eef218baeb7f5a5cea4308fc99328601cbf64.tar.gz vdr-1d2eef218baeb7f5a5cea4308fc99328601cbf64.tar.bz2 |
Fixed rev. 2.27
-rw-r--r-- | dvbdevice.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dvbdevice.c b/dvbdevice.c index 6915de45..cb36f7ae 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 2.27 2010/02/06 15:34:14 kls Exp $ + * $Id: dvbdevice.c 2.28 2010/02/07 13:21:05 kls Exp $ */ #include "dvbdevice.h" @@ -422,7 +422,7 @@ cDvbDevice::cDvbDevice(int Adapter, int Frontend) if (frontendType == SYS_DVBS2) numProvidedSystems++; isyslog("frontend %d/%d provides %s (\"%s\")", adapter, frontend, DeliverySystems[frontendType], frontendInfo.name); - dvbTuner = new cDvbTuner(DeviceNumber(), fd_frontend, adapter, frontend, frontendType); + dvbTuner = new cDvbTuner(CardIndex() + 1, fd_frontend, adapter, frontend, frontendType); } } else @@ -614,7 +614,7 @@ bool cDvbDevice::ProvidesTransponder(const cChannel *Channel) const return DeviceHooksProvidesTransponder(Channel); // source is sufficient for non sat if (frontendType == SYS_DVBS && Channel->System() == SYS_DVBS2) return false; // requires modulation system which frontend doesn't provide - if (!Setup.DiSEqC || Diseqcs.Get(DeviceNumber(), Channel->Source(), Channel->Frequency(), Channel->Polarization())) + if (!Setup.DiSEqC || Diseqcs.Get(CardIndex() + 1, Channel->Source(), Channel->Frequency(), Channel->Polarization())) return DeviceHooksProvidesTransponder(Channel); return false; } |