diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-02-12 12:45:35 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-02-12 12:45:35 +0100 |
commit | cace8bed8d05444168ab82d0042f6ac5193befb4 (patch) | |
tree | e04fafa8b7a12412ed764c5418d97a4787d8f4ea /dvbdevice.c | |
parent | 2772964f99e7b14888d1faf4a2d3915e54f3e924 (diff) | |
download | vdr-cace8bed8d05444168ab82d0042f6ac5193befb4.tar.gz vdr-cace8bed8d05444168ab82d0042f6ac5193befb4.tar.bz2 |
Fixed selecting the primary device for receiving the live viewing channel in case it is bonded with an other device and has no receiver attached to it
Diffstat (limited to 'dvbdevice.c')
-rw-r--r-- | dvbdevice.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dvbdevice.c b/dvbdevice.c index 62f7c753..2966ef33 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.59 2012/01/17 15:16:12 kls Exp $ + * $Id: dvbdevice.c 2.60 2012/02/12 12:38:49 kls Exp $ */ #include "dvbdevice.h" @@ -1442,7 +1442,7 @@ bool cDvbDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *Ne result = !IsPrimaryDevice() || Priority >= Setup.PrimaryLimit; } else - needsDetachReceivers = true; + needsDetachReceivers = Receiving(true); } if (result) { if (!BondingOk(Channel)) { @@ -1454,7 +1454,7 @@ bool cDvbDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *Ne } } needsDetachBondedReceivers = true; - needsDetachReceivers = true; + needsDetachReceivers = Receiving(true); } } } |