diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-03-25 10:44:04 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-03-25 10:44:04 +0200 |
commit | 55b6ab1dc6b449ef5ed8b3835756539145eee52c (patch) | |
tree | 5a099536b64c1797ad6596d6f2d144f1bd3cd4c4 /dvbdevice.c | |
parent | bf970b5bf492c34a8ed83721dd5227ea4324230c (diff) | |
download | vdr-55b6ab1dc6b449ef5ed8b3835756539145eee52c.tar.gz vdr-55b6ab1dc6b449ef5ed8b3835756539145eee52c.tar.bz2 |
Fixed handling IDLEPRIORITY in cDvbDevice::ProvidesChannel()1.7.27
Diffstat (limited to 'dvbdevice.c')
-rw-r--r-- | dvbdevice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dvbdevice.c b/dvbdevice.c index d7f3c499..65e9a4bc 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.68 2012/03/13 09:50:56 kls Exp $ + * $Id: dvbdevice.c 2.69 2012/03/25 10:41:45 kls Exp $ */ #include "dvbdevice.h" @@ -1448,7 +1448,7 @@ bool cDvbDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *Ne if (dvbTuner && ProvidesTransponder(Channel)) { result = hasPriority; - if (Priority >= 0) { + if (Priority > IDLEPRIORITY) { if (Receiving()) { if (dvbTuner->IsTunedTo(Channel)) { if (Channel->Vpid() && !HasPid(Channel->Vpid()) || Channel->Apid(0) && !HasPid(Channel->Apid(0)) || Channel->Dpid(0) && !HasPid(Channel->Dpid(0))) { |