summaryrefslogtreecommitdiff
path: root/client/device.h
diff options
context:
space:
mode:
authorFrank Schmirler <vdr@schmirler.de>2011-12-11 17:03:09 +0100
committerFrank Schmirler <vdr@schmirler.de>2011-12-11 17:03:09 +0100
commitba7c61fb3901eb08eec4662c355f8e4275d68c61 (patch)
tree12204dc365624ea9ffea96e084b7b1586da8f541 /client/device.h
parent6a971b9145b1be99039b653c44b0884de687110f (diff)
downloadvdr-plugin-streamdev-ba7c61fb3901eb08eec4662c355f8e4275d68c61.tar.gz
vdr-plugin-streamdev-ba7c61fb3901eb08eec4662c355f8e4275d68c61.tar.bz2
Support for non-cycle-free setups (e.g. where two VDRs mutually share
their DVB cards through streamdev-client/-server). Must be enabled in streamdev-server setup. Obsoletes recursion patches.
Diffstat (limited to 'client/device.h')
-rw-r--r--client/device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/device.h b/client/device.h
index fe8568f..1b03c43 100644
--- a/client/device.h
+++ b/client/device.h
@@ -26,6 +26,7 @@ private:
bool m_DvrClosed;
static cStreamdevDevice *m_Device;
+ static const cChannel *m_DenyChannel;
bool OpenDvrInt(void);
void CloseDvrInt(void);
@@ -70,6 +71,7 @@ public:
virtual int SignalQuality(void) const;
static void UpdatePriority(void);
+ static void DenyChannel(const cChannel *Channel) { m_DenyChannel = Channel; }
static bool Init(void);
static bool ReInit(void);