diff options
author | Frank Schmirler <vdr@schmirler.de> | 2011-01-28 12:42:33 +0100 |
---|---|---|
committer | Frank Schmirler <vdr@schmirler.de> | 2011-01-28 12:42:33 +0100 |
commit | 1b5285b26db690659e6adc5fd72477ccffa9549e (patch) | |
tree | 7d3b4a505bd581d0858142962a3bd95a4f7b6a03 /server/connection.h | |
parent | bbaf3aa12cff7791f87a1775ad0dc2d2729903d1 (diff) | |
download | vdr-plugin-streamdev-1b5285b26db690659e6adc5fd72477ccffa9549e.tar.gz vdr-plugin-streamdev-1b5285b26db690659e6adc5fd72477ccffa9549e.tar.bz2 |
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)
Diffstat (limited to 'server/connection.h')
-rw-r--r-- | server/connection.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 */ |