summaryrefslogtreecommitdiff
path: root/eit.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2017-03-31 15:24:35 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2017-03-31 15:24:35 +0200
commitd6f57259fa570f706fc412f9c0de925097edda09 (patch)
tree8360391abd7ee8a3abfc531f24f84bcb67b03345 /eit.c
parent112bfa589791ab19627a43bed989b1fa2a4667b4 (diff)
downloadvdr-d6f57259fa570f706fc412f9c0de925097edda09.tar.gz
vdr-d6f57259fa570f706fc412f9c0de925097edda09.tar.bz2
The function cEpgHandlers::BeginSegmentTransfer() is now boolean
Diffstat (limited to 'eit.c')
-rw-r--r--eit.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/eit.c b/eit.c
index b5c671d2..cfed4d08 100644
--- a/eit.c
+++ b/eit.c
@@ -8,7 +8,7 @@
* Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>.
* Adapted to 'libsi' for VDR 1.3.0 by Marcel Wiesweg <marcel.wiesweg@gmx.de>.
*
- * $Id: eit.c 4.1 2015/08/23 10:43:36 kls Exp $
+ * $Id: eit.c 4.2 2017/03/31 15:16:46 kls Exp $
*/
#include "eit.h"
@@ -67,8 +67,13 @@ cEIT::cEIT(cSectionSyncerHash &SectionSyncerHash, int Source, u_char Tid, const
return;
}
+ if (!EpgHandlers.BeginSegmentTransfer(Channel)) {
+ SchedulesStateKey.Remove(false);
+ ChannelsStateKey.Remove(false);
+ return;
+ }
+
bool ChannelsModified = false;
- EpgHandlers.BeginSegmentTransfer(Channel);
bool handledExternally = EpgHandlers.HandledExternally(Channel);
cSchedule *pSchedule = (cSchedule *)Schedules->GetSchedule(Channel, true);