summaryrefslogtreecommitdiff
path: root/PLUGINS/src/dvbsddevice/dvbsdffdevice.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2014-02-27 17:12:14 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2014-02-27 17:12:14 +0100
commitc94b4a803cfe16c8e26e570d455a8713f2b82798 (patch)
tree8a6ae77c1c9dbe4d43f06214878b23a593348d49 /PLUGINS/src/dvbsddevice/dvbsdffdevice.c
parent7271a160e46b3d29a5623a8478a335fd742f1f9a (diff)
downloadvdr-c94b4a803cfe16c8e26e570d455a8713f2b82798.tar.gz
vdr-c94b4a803cfe16c8e26e570d455a8713f2b82798.tar.bz2
Fixed handling transfer mode on full featured DVB cards for encrypted channels that have no audio pid
Diffstat (limited to 'PLUGINS/src/dvbsddevice/dvbsdffdevice.c')
-rw-r--r--PLUGINS/src/dvbsddevice/dvbsdffdevice.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/PLUGINS/src/dvbsddevice/dvbsdffdevice.c b/PLUGINS/src/dvbsddevice/dvbsdffdevice.c
index 4e98cdda..8dd69c21 100644
--- a/PLUGINS/src/dvbsddevice/dvbsdffdevice.c
+++ b/PLUGINS/src/dvbsddevice/dvbsdffdevice.c
@@ -3,7 +3,7 @@
*
* See the README file for copyright information and how to reach the author.
*
- * $Id: dvbsdffdevice.c 2.35 2013/02/17 13:16:18 kls Exp $
+ * $Id: dvbsdffdevice.c 2.35.1.1 2014/02/27 17:10:51 kls Exp $
*/
#include "dvbsdffdevice.h"
@@ -400,8 +400,8 @@ bool cDvbSdFfDevice::SetChannelDevice(const cChannel *Channel, bool LiveView)
bool DoTune = !IsTunedToTransponder(Channel);
- bool pidHandlesVideo = pidHandles[ptVideo].pid == vpid;
- bool pidHandlesAudio = pidHandles[ptAudio].pid == apid;
+ bool pidHandlesVideo = vpid && pidHandles[ptVideo].pid == vpid;
+ bool pidHandlesAudio = apid && pidHandles[ptAudio].pid == apid;
bool TurnOffLivePIDs = DoTune
|| !IsPrimaryDevice()