summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--client/device.c4
-rw-r--r--client/device.h4
3 files changed, 9 insertions, 0 deletions
diff --git a/HISTORY b/HISTORY
index 475e5aa..ba5f387 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,6 +1,7 @@
VDR Plugin 'streamdev' Revision History
---------------------------------------
+- API change of VDR 1.7.22
- VDR 1.7.22 obsoletes cap_net_raw patch. Added cap_net_raw patch for VDR
1.7.5 - 1.7.21.
- Update and UTF-8 conversion of Finnish po files (thanks to Rolf Ahrenberg)
diff --git a/client/device.c b/client/device.c
index 2935db2..5d81727 100644
--- a/client/device.c
+++ b/client/device.c
@@ -70,7 +70,11 @@ bool cStreamdevDevice::ProvidesTransponder(const cChannel *Channel) const
return true;
}
+#if APIVERSNUM >= 10722
+bool cStreamdevDevice::IsTunedToTransponder(const cChannel *Channel) const
+#else
bool cStreamdevDevice::IsTunedToTransponder(const cChannel *Channel)
+#endif
{
bool res = false;
if (ClientSocket.DataSocket(siLive) != NULL
diff --git a/client/device.h b/client/device.h
index 6c64df0..fe8568f 100644
--- a/client/device.h
+++ b/client/device.h
@@ -61,7 +61,11 @@ public:
#if APIVERSNUM >= 10719
virtual bool AvoidRecording(void) const { return true; }
#endif
+#if APIVERSNUM >= 10722
+ virtual bool IsTunedToTransponder(const cChannel *Channel) const;
+#else
virtual bool IsTunedToTransponder(const cChannel *Channel);
+#endif
virtual int SignalStrength(void) const;
virtual int SignalQuality(void) const;