--- e/dvbhdffdevice.c 2014/01/15 20:16:52 3.3 +++ c/dvbhdffdevice.c 2014/02/27 15:27:06 @@ -383,8 +383,8 @@ 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()