From 61ea56a1bd5e1aabe587155f1db613cdbaf8b753 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Tue, 12 Mar 2019 11:47:36 +0100 Subject: [PATCH] Fixed processing the last entry in the scan list of the EIT scanner --- CONTRIBUTORS | 1 + HISTORY | 4 +++- eitscan.c | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 9d37b941..5cff1034 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -3571,6 +3571,7 @@ Helmut Binder for deactivating MTD support if a non MCD capable CAM is inserted after removing a previously used CAM that is MCD capable for fixing accessing the actual frontend on multi frontend devices + for fixing processing the last entry in the scan list of the EIT scanner Ulrich Eckhardt for reporting a problem with shutdown after user inactivity in case a plugin is diff --git a/HISTORY b/HISTORY index ebf8ad64..c4a2841e 100644 --- a/HISTORY +++ b/HISTORY @@ -9348,7 +9348,7 @@ Video Disk Recorder Revision History Senzel). - Official release. -2019-03-11: Version 2.4.1 +2019-03-12: Version 2.4.1 - Fixed handling the tfRecording flag in the SVDRP commands MODT and UPDT (reported by Johann Friedrichs). @@ -9376,3 +9376,5 @@ Video Disk Recorder Revision History - Fixed accessing the actual frontend on multi frontend devices (thanks to Helmut Binder). - Fixed opening the UDP port in peerdemo (thanks to Robert Hannebauer). - Fixed handling PATs that contain no PMTs. +- Fixed processing the last entry in the scan list of the EIT scanner (thanks to + Helmut Binder). diff --git a/eitscan.c b/eitscan.c index 41ac25e2..1ff8b954 100644 --- a/eitscan.c +++ b/eitscan.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: eitscan.c 4.2 2015/09/10 11:05:03 kls Exp $ + * $Id: eitscan.c 4.3 2019/03/12 11:46:05 kls Exp $ */ #include "eitscan.h" @@ -177,7 +177,7 @@ void cEITScanner::Process(void) } } } - if (!scanList->Count() || !AnyDeviceSwitched) { + if (!AnyDeviceSwitched) { delete scanList; scanList = NULL; if (lastActivity == 0) // this was a triggered scan