summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-11-01 11:11:20 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-11-01 11:11:20 +0100
commit7233a6368051c0dcff527fece6ddcfaa2740a9de (patch)
tree543cc9f7d4769f2e215f351c78fad66d7ade1e49 /device.c
parentc1a5a7d50c4a45b3d3d65717c788e1925463a61e (diff)
downloadvdr-7233a6368051c0dcff527fece6ddcfaa2740a9de.tar.gz
vdr-7233a6368051c0dcff527fece6ddcfaa2740a9de.tar.bz2
Fixed the EPG scanner, which broke 'Transfer Mode' as soon as it kicked in
Diffstat (limited to 'device.c')
-rw-r--r--device.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/device.c b/device.c
index 2d3d1d9e..3bb68c67 100644
--- a/device.c
+++ b/device.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.c 1.32 2002/10/26 11:43:52 kls Exp $
+ * $Id: device.c 1.33 2002/11/01 11:08:57 kls Exp $
*/
#include "device.h"
@@ -608,10 +608,10 @@ int cDevice::ProvidesCa(int Ca) const
return result ? result + others : 0;
}
-bool cDevice::Receiving(void) const
+bool cDevice::Receiving(bool CheckAny) const
{
for (int i = 0; i < MAXRECEIVERS; i++) {
- if (receiver[i] && receiver[i]->priority >= 0) // cReceiver with priority < 0 doesn't count
+ if (receiver[i] && (CheckAny || receiver[i]->priority >= 0)) // cReceiver with priority < 0 doesn't count
return true;
}
return false;