diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-11-01 11:11:20 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-11-01 11:11:20 +0100 |
commit | 7233a6368051c0dcff527fece6ddcfaa2740a9de (patch) | |
tree | 543cc9f7d4769f2e215f351c78fad66d7ade1e49 /device.c | |
parent | c1a5a7d50c4a45b3d3d65717c788e1925463a61e (diff) | |
download | vdr-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.c | 6 |
1 files changed, 3 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.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; |