summaryrefslogtreecommitdiff
path: root/PLUGINS
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2014-02-27 17:05:55 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2014-02-27 17:05:55 +0100
commita437a3d743136b2e5ffbb3b2d88684658d92b656 (patch)
treedea72ba743521bba810af1c8af0b86a5ff6b602e /PLUGINS
parent927aa495764c0d4dbdd245d112458c8f637040b9 (diff)
downloadvdr-a437a3d743136b2e5ffbb3b2d88684658d92b656.tar.gz
vdr-a437a3d743136b2e5ffbb3b2d88684658d92b656.tar.bz2
Fixed handling transfer mode on full featured DVB cards for encrypted channels that have no audio pid
Diffstat (limited to 'PLUGINS')
-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 1f197b4d..437fd9eb 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 3.1 2013/12/25 13:27:00 kls Exp $
+ * $Id: dvbsdffdevice.c 3.2 2014/02/27 15:34:33 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()