Fixed handling transfer mode on full featured DVB cards for encrypted channels that have no audio pid

This commit is contained in:
Klaus Schmidinger
2014-02-27 17:05:55 +01:00
parent 927aa49576
commit a437a3d743
3 changed files with 10 additions and 4 deletions

View File

@@ -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()