diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-06-12 14:09:45 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-06-12 14:09:45 +0200 |
commit | f41e3f327b5c7bf080be803af05358e061a37995 (patch) | |
tree | 389f78dc6d40b541a40da5190cdbf443ac962272 /device.c | |
parent | eb8ad6b46d2d65b6fd532b67818c4fdf7a00fc9b (diff) | |
download | vdr-f41e3f327b5c7bf080be803af05358e061a37995.tar.gz vdr-f41e3f327b5c7bf080be803af05358e061a37995.tar.bz2 |
Modified cEITScanner::Process() so that it works on systems with only budget cards or a mix of DVB-S, DVB-C or DVB-T cards
Diffstat (limited to 'device.c')
-rw-r--r-- | device.c | 11 |
1 files changed, 10 insertions, 1 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.102 2005/06/05 13:28:03 kls Exp $ + * $Id: device.c 1.103 2005/06/12 13:39:11 kls Exp $ */ #include "device.h" @@ -505,6 +505,15 @@ bool cDevice::ProvidesTransponder(const cChannel *Channel) const return false; } +bool cDevice::ProvidesTransponderExclusively(const cChannel *Channel) const +{ + for (int i = 0; i < numDevices; i++) { + if (device[i] && device[i] != this && device[i]->ProvidesTransponder(Channel)) + return false; + } + return true; +} + bool cDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *NeedsDetachReceivers) const { return false; |