summaryrefslogtreecommitdiff
path: root/dvbdevice.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-11-09 11:16:21 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2003-11-09 11:16:21 +0100
commit454b63416b912a4bc8bf86e8f3b4e1dc88144f4a (patch)
tree355bc226055e89026a3c46c339acb43e7e77988a /dvbdevice.c
parenta6809c5c7b97d862f14a4e41a0e65fd2861b7d34 (diff)
downloadvdr-454b63416b912a4bc8bf86e8f3b4e1dc88144f4a.tar.gz
vdr-454b63416b912a4bc8bf86e8f3b4e1dc88144f4a.tar.bz2
Fixed handling Priority -1 in cDvbDevice::ProvidesChannel()
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 4e7b50ca..5ae8c6fd 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.67.1.3 2003/11/07 13:24:49 kls Exp $
+ * $Id: dvbdevice.c 1.67.1.4 2003/11/09 11:08:22 kls Exp $
*/
#include "dvbdevice.h"
@@ -654,7 +654,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