summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-09-15 11:24:18 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-09-15 11:24:18 +0200
commit327c2a7dd2cb7c4060db6e590c977838e8fd7d52 (patch)
tree888dd54662aa3c87ffaf5fe9f8951fec1ea436ab
parentec8748a2ccb402b5cde5cb98b4bafd6bb341c370 (diff)
downloadvdr-327c2a7dd2cb7c4060db6e590c977838e8fd7d52.tar.gz
vdr-327c2a7dd2cb7c4060db6e590c977838e8fd7d52.tar.bz2
Fixed attaching a Transfer Mode to a recording on a non-primary card Ca channel
-rw-r--r--dvbdevice.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dvbdevice.c b/dvbdevice.c
index 904bb5ea..debcce0b 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.17 2002/09/15 10:43:12 kls Exp $
+ * $Id: dvbdevice.c 1.18 2002/09/15 11:24:18 kls Exp $
*/
#include "dvbdevice.h"
@@ -394,7 +394,7 @@ bool cDvbDevice::SetChannelDevice(const cChannel *Channel, bool LiveView)
bool TurnOffLivePIDs = HasDecoder()
&& (DoTune
- || Channel->ca > CACONFBASE // CA channels can only be decrypted in "live" mode
+ || Channel->ca > CACONFBASE && pidHandles[ptVideo].pid != Channel->vpid // CA channels can only be decrypted in "live" mode
|| IsPrimaryDevice()
&& (LiveView // for a new live view the old PIDs need to be turned off
|| pidHandles[ptVideo].pid == Channel->vpid // for recording the PIDs must be shifted from DMX_PES_AUDIO/VIDEO to DMX_PES_OTHER