summaryrefslogtreecommitdiff
path: root/eit.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2017-10-11 09:22:24 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2017-10-11 09:22:24 +0200
commit7bbbfb0dee56942458968e538830a3e5ec785bb5 (patch)
treeb0929387ea060d50a0fad054f74c41bdfe452faf /eit.c
parentef7018cca4211dd57bcdff0e8fcf251bd674356c (diff)
downloadvdr-7bbbfb0dee56942458968e538830a3e5ec785bb5.tar.gz
vdr-7bbbfb0dee56942458968e538830a3e5ec785bb5.tar.bz2
Fixed handling VPS events outside the LingerLimit, which could cause recordings to stop prematurely
Diffstat (limited to 'eit.c')
-rw-r--r--eit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eit.c b/eit.c
index ade79286..68872525 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.3 2017/05/03 08:58:41 kls Exp $
+ * $Id: eit.c 4.4 2017/10/11 09:19:42 kls Exp $
*/
#include "eit.h"
@@ -94,10 +94,10 @@ cEIT::cEIT(cSectionSyncerHash &SectionSyncerHash, int Source, u_char Tid, const
// Drop bogus events - but keep NVOD reference events, where all bits of the start time field are set to 1, resulting in a negative number.
if (StartTime == 0 || StartTime > 0 && Duration == 0)
continue;
+ Empty = false;
// Ignore events that ended before the "EPG linger time":
if (StartTime + Duration < LingerLimit)
continue;
- Empty = false;
if (!SegmentStart)
SegmentStart = StartTime;
SegmentEnd = StartTime + Duration;