diff options
author | Holger Steinhaus <hsteinhaus@gmx.de> | 2015-11-12 11:05:05 +0100 |
---|---|---|
committer | Holger Steinhaus <hsteinhaus@gmx.de> | 2015-11-12 11:05:05 +0100 |
commit | 61a69b2a133fa09f944753f5470ca0e49461b1ee (patch) | |
tree | 9d430b3073d4f5e7eb0d3e4e72c5b323f55336d1 /mcli.h | |
parent | 461afe293abb199d8b84c8976b69f114c115c8ab (diff) | |
download | vdr-plugin-mcli-61a69b2a133fa09f944753f5470ca0e49461b1ee.tar.gz vdr-plugin-mcli-61a69b2a133fa09f944753f5470ca0e49461b1ee.tar.bz2 |
Do not try any CAM steal voodoo if not at least one CAM is present.
This change resolves the nasty "retrying" message generated by VDR's cDevice::SwitchChannel()
Diffstat (limited to 'mcli.h')
-rw-r--r-- | mcli.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -96,6 +96,7 @@ class cPluginMcli:public cPlugin, public cThread int m_recv_init_done; int m_mld_init_done; int m_api_init_done; + bool m_cam_present; tuner_pool_t m_tuner_pool[TUNER_POOL_MAX]; tuner_pool_t *TunerAvailableInt(fe_type_t type, int pos); @@ -158,6 +159,7 @@ class cPluginMcli:public cPlugin, public cThread cam_pool_t *CAMAlloc (const char *uuid=NULL, int slot=-1); int CAMFree (cam_pool_t *cp); bool CAMSteal(const char *uuid=NULL, int slot=-1, bool force=false); + bool CAMPresent() { return m_cam_present; } satellite_list_t *TunerFindSatList(const netceiver_info_t *nc_info, const char *SatelliteListName) const; bool SatelitePositionLookup(const satellite_list_t *satlist, int pos) const; |