diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2003-11-09 11:21:06 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2003-11-09 11:21:06 +0100 |
commit | 8e4a745ada27e4538b3a75e4b39d7784ea7d1802 (patch) | |
tree | 3337d68c7c6b6d0876f332d49bc44062b11f1058 /dvbdevice.c | |
parent | 8b96cd93b95e5313fc1043a412787e206601c76a (diff) | |
download | vdr-8e4a745ada27e4538b3a75e4b39d7784ea7d1802.tar.gz vdr-8e4a745ada27e4538b3a75e4b39d7784ea7d1802.tar.bz2 |
Fixed handling Priority -1 in cDvbDevice::ProvidesChannel()
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 953d2787..edebaa2d 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 1.71 2003/11/07 14:16:25 kls Exp $ + * $Id: dvbdevice.c 1.72 2003/11/09 11:19:00 kls Exp $ */ #include "dvbdevice.h" @@ -653,7 +653,7 @@ bool cDvbDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *Ne if (ProvidesSource(Channel->Source()) && ProvidesCa(Channel->Ca())) { result = hasPriority; - if (Receiving()) { + if (Priority >= 0 && Receiving()) { if (dvbTuner->IsTunedTo(Channel)) { if (!HasPid(Channel->Vpid())) { #ifdef DO_MULTIPLE_RECORDINGS |