summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--import.cpp1
-rw-r--r--xmltv2vdr.cpp4
2 files changed, 4 insertions, 1 deletions
diff --git a/import.cpp b/import.cpp
index e887d32..ac9bd2a 100644
--- a/import.cpp
+++ b/import.cpp
@@ -1780,7 +1780,6 @@ int cImport::Process(cEPGSource *Source, cEPGExecutor &myExecutor)
{
break;
}
- usleep(300000);
}
if (Commit(Source,db))
diff --git a/xmltv2vdr.cpp b/xmltv2vdr.cpp
index cf0cd18..e00f201 100644
--- a/xmltv2vdr.cpp
+++ b/xmltv2vdr.cpp
@@ -427,7 +427,11 @@ bool cEPGHandler::check4proc(cEvent *event, cTimer **timer, cEPGMapping **map)
if (!epall) return false;
if (!event->ShortText()) return false;
if (!timer) return false;
+#if VDRVERSNUM <= 10732
+ int TimerMatch = tmNone;
+#else
eTimerMatch TimerMatch = tmNone;
+#endif
*timer=Timers.GetMatch(event,&TimerMatch);
if (!*timer) return false;
if (TimerMatch!=tmFull)