From 43b60b1566878104240cbae5b1e322bbacd380e1 Mon Sep 17 00:00:00 2001 From: Winfried Koehler <78253700+wirbel-at-vdr-portal@users.noreply.github.com> Date: Sun, 31 Jan 2021 12:41:04 +0100 Subject: [PATCH] Add DeviceHooksProvidesEIT() from vdr-2.4.3+ (#68) --- device.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/device.c b/device.c index 5cd8000..9a5a5b3 100644 --- a/device.c +++ b/device.c @@ -309,7 +309,11 @@ bool cSatipDevice::ProvidesChannel(const cChannel *channelP, int priorityP, bool bool cSatipDevice::ProvidesEIT(void) const { +#if defined(APIVERSNUM) && APIVERSNUM < 20403 return (SatipConfig.GetEITScan()); +#else + return (SatipConfig.GetEITScan()) && DeviceHooksProvidesEIT(); +#endif } int cSatipDevice::NumProvidedSystems(void) const