summaryrefslogtreecommitdiff
path: root/client/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/device.c')
-rw-r--r--client/device.c4
1 files changed, 4 insertions, 0 deletions
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))))