summaryrefslogtreecommitdiff
path: root/dvbdevice.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-03-07 13:46:13 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-03-07 13:46:13 +0100
commit40d06559bb1f4ac515fe62f913238882a8597cf6 (patch)
treec2fdbdefc54bc1d93f8b92110b0b248d5bace4b6 /dvbdevice.c
parent61e420bdf6159af3c31023ae2230f6743cf6d8d3 (diff)
downloadvdr-40d06559bb1f4ac515fe62f913238882a8597cf6.tar.gz
vdr-40d06559bb1f4ac515fe62f913238882a8597cf6.tar.bz2
Fixed selecting devices for the EPG scan in case the primary device is bonded with an other one
Diffstat (limited to 'dvbdevice.c')
-rw-r--r--dvbdevice.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dvbdevice.c b/dvbdevice.c
index 1987223e..ce45ba51 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.65 2012/02/29 12:23:43 kls Exp $
+ * $Id: dvbdevice.c 2.66 2012/03/07 13:37:01 kls Exp $
*/
#include "dvbdevice.h"
@@ -420,7 +420,7 @@ bool cDvbTuner::BondingOk(const cChannel *Channel, bool ConsiderOccupied) const
if (cDvbTuner *t = bondedTuner) {
cString BondingParams = GetBondingParams(Channel);
do {
- if (t->device->Receiving() || ConsiderOccupied && t->device->Occupied()) {
+ if (t->device->Priority() > IDLEPRIORITY || ConsiderOccupied && t->device->Occupied()) {
if (strcmp(BondingParams, t->GetBondingParams()) != 0)
return false;
}