summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorFrank Schmirler <vdr@schmirler.de>2012-06-22 08:54:47 +0200
committerFrank Schmirler <vdr@schmirler.de>2012-06-22 08:54:47 +0200
commit281105f0c7cdb70cfb532020cb8c3c3c8f1611e2 (patch)
tree8f44df9d16719425a9975b987d51693e21c266d9 /client
parent80e40d4260af02dce1086d78d2af80b63e99070f (diff)
downloadvdr-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)
Diffstat (limited to 'client')
-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))))