summaryrefslogtreecommitdiff
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
parentef7018cca4211dd57bcdff0e8fcf251bd674356c (diff)
downloadvdr-7bbbfb0dee56942458968e538830a3e5ec785bb5.tar.gz
vdr-7bbbfb0dee56942458968e538830a3e5ec785bb5.tar.bz2
Fixed handling VPS events outside the LingerLimit, which could cause recordings to stop prematurely
-rw-r--r--CONTRIBUTORS2
-rw-r--r--HISTORY4
-rw-r--r--eit.c4
3 files changed, 7 insertions, 3 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 2c713a2d..3c02c1c1 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -2837,6 +2837,8 @@ Johann Friedrichs <johann.friedrichs@web.de>
false
for reporting an invalid lock sequence in the epgsearch plugin, which turned out to
be an abandoned member of class cSchedulesLock
+ for fixing handling VPS events outside the LingerLimit, which could cause recordings to
+ stop prematurely
Timo Helkio <timolavi@mbnet.fi>
for reporting a hangup when replaying a TS recording with subtitles activated
diff --git a/HISTORY b/HISTORY
index 933b815b..823fc060 100644
--- a/HISTORY
+++ b/HISTORY
@@ -9162,9 +9162,11 @@ Video Disk Recorder Revision History
a subdirectory.
- SVDRP peering can now be limited to the default SVDRP host (see MANUAL for details).
-2017-08-31: Version 2.3.9
+2017-10-11: Version 2.3.9
- Updated the Italian OSD texts (thanks to Diego Pierotto).
- Updated the Finnish OSD texts (thanks to Rolf Ahrenberg).
- Fixed a possible crash when stopping VDR (thanks to Matthias Senzel for reporting and
helping to debug this one).
+- Fixed handling VPS events outside the LingerLimit, which could cause recordings to
+ stop prematurely (thanks to Johann Friedrichs).
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;