summaryrefslogtreecommitdiff
path: root/dvbdevice.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-02-08 14:08:03 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-02-08 14:08:03 +0100
commit64683c24380dd9b6b064deb3cd3e7051d7b42da7 (patch)
tree6ba749e4edbdb2096dbd195904c8b312a6b69213 /dvbdevice.c
parent1a91d46cf3b28d8bc07c0423b41532985f8561b2 (diff)
downloadvdr-64683c24380dd9b6b064deb3cd3e7051d7b42da7.tar.gz
vdr-64683c24380dd9b6b064deb3cd3e7051d7b42da7.tar.bz2
Enabled switching to a channel even if it has no Vpid or Apid set
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 cd6abbe0..e1d5fc63 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.80 2004/02/08 11:11:10 kls Exp $
+ * $Id: dvbdevice.c 1.81 2004/02/08 14:07:07 kls Exp $
*/
#include "dvbdevice.h"
@@ -680,7 +680,7 @@ bool cDvbDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *Ne
bool hasPriority = Priority < 0 || Priority > this->Priority();
bool needsDetachReceivers = false;
- if ((Channel->Vpid() || Channel->Apid1()) && ProvidesSource(Channel->Source()) && ProvidesCa(Channel)) {
+ if (ProvidesSource(Channel->Source()) && ProvidesCa(Channel)) {
result = hasPriority;
if (Priority >= 0 && Receiving()) {
if (dvbTuner->IsTunedTo(Channel)) {