summaryrefslogtreecommitdiff
path: root/dvbdevice.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-02-25 14:44:43 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-02-25 14:44:43 +0100
commit42c42b554af5b5290eaf40ea046e472824ec6f28 (patch)
treef4f84aa2b1f6dd85af00f57c1bb9daf86acc87b2 /dvbdevice.c
parentf2c396ee070040e1280fd99a5220aa92dbdc9b47 (diff)
downloadvdr-42c42b554af5b5290eaf40ea046e472824ec6f28.tar.gz
vdr-42c42b554af5b5290eaf40ea046e472824ec6f28.tar.bz2
Removed the "PrimaryLimit"
Diffstat (limited to 'dvbdevice.c')
-rw-r--r--dvbdevice.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/dvbdevice.c b/dvbdevice.c
index 34a4f503..ac505f00 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.63 2012/02/20 12:45:49 kls Exp $
+ * $Id: dvbdevice.c 2.64 2012/02/25 12:10:12 kls Exp $
*/
#include "dvbdevice.h"
@@ -1453,13 +1453,11 @@ bool cDvbDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *Ne
else
needsDetachReceivers = true;
}
- else if (!IsPrimaryDevice())
- result = true;
else
- result = Priority >= Setup.PrimaryLimit;
+ result = true;
}
else
- result = !IsPrimaryDevice() || Priority >= Setup.PrimaryLimit;
+ result = true;
}
else
needsDetachReceivers = Receiving(true);