diff options
author | Frank Schmirler <vdr@schmirler.de> | 2012-06-22 08:54:47 +0200 |
---|---|---|
committer | Frank Schmirler <vdr@schmirler.de> | 2012-06-22 08:54:47 +0200 |
commit | 281105f0c7cdb70cfb532020cb8c3c3c8f1611e2 (patch) | |
tree | 8f44df9d16719425a9975b987d51693e21c266d9 | |
parent | 80e40d4260af02dce1086d78d2af80b63e99070f (diff) | |
download | vdr-plugin-streamdev-281105f0c7cdb70cfb532020cb8c3c3c8f1611e2.tar.gz vdr-plugin-streamdev-281105f0c7cdb70cfb532020cb8c3c3c8f1611e2.tar.bz2 |
Fixed compiler error in client/device.c with VDR < 1.7.22 (reported by Uwe@vdrportal)
-rw-r--r-- | CONTRIBUTORS | 2 | ||||
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | client/device.c | 4 |
3 files changed, 8 insertions, 0 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index c0e54e9..0c0ae19 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -205,3 +205,5 @@ Ville Skyttä Methodus for suggesting to use HTTP code 503 for unavailable channels +Uwe + for reporting a compiler error in client/device.c with VDR < 1.7.22 @@ -1,6 +1,8 @@ VDR Plugin 'streamdev' Revision History --------------------------------------- +- Fixed compiler error in client/device.c with VDR < 1.7.22 (reported by + Uwe@vdrportal) - Updated Italian translation (thanks to Diego Pierotto) - Added DeviceName() and DeviceType() to client device. The server IP and the number of the device used on the server are returned respectively. diff --git a/client/device.c b/client/device.c index 13c5aaa..c42924b 100644 --- a/client/device.c +++ b/client/device.c @@ -117,7 +117,11 @@ bool cStreamdevDevice::ProvidesChannel(const cChannel *Channel, int Priority, return false; } +#if APIVERSNUM >= 10722 if (IsTunedToTransponder(Channel)) { +#else + if (const_cast<cStreamdevDevice*>(this)->IsTunedToTransponder(Channel)) { +#endif if (Channel->Ca() < CA_ENCRYPTED_MIN || (Channel->Vpid() && HasPid(Channel->Vpid())) || (Channel->Apid(0) && HasPid(Channel->Apid(0)))) |