diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2017-03-31 15:24:35 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2017-03-31 15:24:35 +0200 |
commit | d6f57259fa570f706fc412f9c0de925097edda09 (patch) | |
tree | 8360391abd7ee8a3abfc531f24f84bcb67b03345 /eit.c | |
parent | 112bfa589791ab19627a43bed989b1fa2a4667b4 (diff) | |
download | vdr-d6f57259fa570f706fc412f9c0de925097edda09.tar.gz vdr-d6f57259fa570f706fc412f9c0de925097edda09.tar.bz2 |
The function cEpgHandlers::BeginSegmentTransfer() is now boolean
Diffstat (limited to 'eit.c')
-rw-r--r-- | eit.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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); |