diff options
author | Frank Neumann <fnu@yavdr.org> | 2017-05-01 11:02:21 +0200 |
---|---|---|
committer | Frank Neumann <fnu@yavdr.org> | 2017-05-01 11:02:21 +0200 |
commit | a46c7161bddc00b5b11bda0f8a14066b5f837302 (patch) | |
tree | 48e50b78f0efb1120b39bfb07f3612aabb1541e6 /conflictcheck_thread.c | |
parent | 0b09f90f361454d1d422cc750ee84359f11bd378 (diff) | |
download | vdr-plugin-epgsearch-a46c7161bddc00b5b11bda0f8a14066b5f837302.tar.gz vdr-plugin-epgsearch-a46c7161bddc00b5b11bda0f8a14066b5f837302.tar.bz2 |
Add compatibility for VDR 2.3.2+ (thx kamel5, mini73 & TomJoad)
Diffstat (limited to 'conflictcheck_thread.c')
-rw-r--r-- | conflictcheck_thread.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/conflictcheck_thread.c b/conflictcheck_thread.c index d224ccf..8c52d85 100644 --- a/conflictcheck_thread.c +++ b/conflictcheck_thread.c @@ -102,11 +102,17 @@ void cConflictCheckThread::Action(void) if (now >= nextUpdate || m_forceUpdate) { m_forceUpdate = false; +#if VDRVERSNUM > 20300 + { + LOCK_TIMERS_READ; + } +#else if (Timers.BeingEdited()) { Wait.Wait(1000); continue; } +#endif LogFile.iSysLog("timer conflict check started"); cConflictCheck conflictCheck; |