diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-11-05 15:48:05 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-11-05 15:48:05 +0100 |
commit | 27ab07e80d2855b63e2d1df700bc307699fed6fb (patch) | |
tree | 0991809bc9a79ff235d93eeee1b593afbf0e4b4d /device.c | |
parent | 596e965a5334fec97b4ee4fd19223b6acfacf680 (diff) | |
download | vdr-27ab07e80d2855b63e2d1df700bc307699fed6fb.tar.gz vdr-27ab07e80d2855b63e2d1df700bc307699fed6fb.tar.bz2 |
The EPG scan no longer disturbs players that have also set live PIDs
Diffstat (limited to 'device.c')
-rw-r--r-- | device.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.c 1.110 2005/09/17 14:29:44 kls Exp $ + * $Id: device.c 1.111 2005/11/05 15:23:58 kls Exp $ */ #include "device.h" @@ -514,6 +514,11 @@ bool cDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *Needs return false; } +bool cDevice::MaySwitchTransponder(void) +{ + return !Receiving(true) && !(pidHandles[ptAudio].pid || pidHandles[ptVideo].pid || pidHandles[ptDolby].pid); +} + bool cDevice::SwitchChannel(const cChannel *Channel, bool LiveView) { if (LiveView) |