diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-03-08 10:04:16 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-03-08 10:04:16 +0100 |
commit | 120fb54d495f3770dad3ea7d98b7abaacfc6bb0e (patch) | |
tree | 99ded6ea62ec841b15291bcac77c35ee2ad40f47 /dvbdevice.c | |
parent | 9b68c100b2d221224382fe139599828f3ea663b7 (diff) | |
download | vdr-120fb54d495f3770dad3ea7d98b7abaacfc6bb0e.tar.gz vdr-120fb54d495f3770dad3ea7d98b7abaacfc6bb0e.tar.bz2 |
Fixed checking pids in case a channel has only Dolby Digital audio
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 ce45ba51..4c9268f4 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.66 2012/03/07 13:37:01 kls Exp $ + * $Id: dvbdevice.c 2.67 2012/03/08 09:49:58 kls Exp $ */ #include "dvbdevice.h" @@ -1446,7 +1446,7 @@ bool cDvbDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *Ne if (Priority >= 0) { if (Receiving()) { if (dvbTuner->IsTunedTo(Channel)) { - if (Channel->Vpid() && !HasPid(Channel->Vpid()) || Channel->Apid(0) && !HasPid(Channel->Apid(0))) { + if (Channel->Vpid() && !HasPid(Channel->Vpid()) || Channel->Apid(0) && !HasPid(Channel->Apid(0)) || Channel->Dpid(0) && !HasPid(Channel->Dpid(0))) { if (CamSlot() && Channel->Ca() >= CA_ENCRYPTED_MIN) { if (CamSlot()->CanDecrypt(Channel)) result = true; |