diff options
-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)))) |