summaryrefslogtreecommitdiff
path: root/dvbdevice.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-06-12 15:07:29 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2004-06-12 15:07:29 +0200
commit1369239b53ee23fa1f790c67649facb4f8e547ff (patch)
tree7e5cb697db8f8034530ca2a16e67398f3d64f5e7 /dvbdevice.c
parent9b0070a420a47dfcced1e480d85c9f455aa6e416 (diff)
downloadvdr-1369239b53ee23fa1f790c67649facb4f8e547ff.tar.gz
vdr-1369239b53ee23fa1f790c67649facb4f8e547ff.tar.bz2
Fixed switching channels while an encrypted channel is being recorded
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 2d23d27c..fae2408a 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.90 2004/06/12 14:42:19 kls Exp $
+ * $Id: dvbdevice.c 1.91 2004/06/12 14:50:23 kls Exp $
*/
#include "dvbdevice.h"
@@ -682,7 +682,7 @@ bool cDvbDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *Ne
result = hasPriority;
if (Priority >= 0 && Receiving(true)) {
if (dvbTuner->IsTunedTo(Channel)) {
- if (!HasPid(Channel->Vpid())) {
+ if (Channel->Vpid() && !HasPid(Channel->Vpid()) || Channel->Apid1() && !HasPid(Channel->Apid1())) {
#ifdef DO_MULTIPLE_RECORDINGS
if (Channel->Ca() > CACONFBASE)
needsDetachReceivers = !ciHandler // only LL-firmware can do non-live CA channels