summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-11-05 15:48:05 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-11-05 15:48:05 +0100
commit27ab07e80d2855b63e2d1df700bc307699fed6fb (patch)
tree0991809bc9a79ff235d93eeee1b593afbf0e4b4d /device.c
parent596e965a5334fec97b4ee4fd19223b6acfacf680 (diff)
downloadvdr-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.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/device.c b/device.c
index dcd05a31..0da5a492 100644
--- a/device.c
+++ b/device.c
@@ -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)