From 1b5285b26db690659e6adc5fd72477ccffa9549e Mon Sep 17 00:00:00 2001 From: Frank Schmirler Date: Fri, 28 Jan 2011 12:42:33 +0100 Subject: Fixed the code deciding if a device is in use for live TV or not. It did not work as expected for FF cards (fixes #536) --- server/connection.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'server/connection.h') diff --git a/server/connection.h b/server/connection.h index 22301b1..01a070c 100644 --- a/server/connection.h +++ b/server/connection.h @@ -40,6 +40,10 @@ private: detaching this connection's receivers. */ cDevice *CheckDevice(const cChannel *Channel, int Priority, bool LiveView, const cDevice *AvoidDevice = NULL); + /* Test if device is in use as the transfer mode receiver device + or a FF card, displaying live TV from internal tuner */ + static bool UsedByLiveTV(cDevice *device); + protected: /* Will be called when a command terminated by a newline has been received */ -- cgit v1.2.3