From 3b656e9e46632e53b32714728e3ce3123995a916 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 26 Apr 2002 12:17:38 +0200 Subject: [PATCH] Now taking an active video cutting process into account when doing shutdown or housekeeping --- CONTRIBUTORS | 2 ++ HISTORY | 5 +++++ vdr.c | 4 ++-- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 874d98ee..a137cc43 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -125,6 +125,8 @@ Stefan Huelswitt for reporting a possible endless loop in shifting recordings between DVB cards for making it no longer setting PIDs 0x1FFF, which apparently fixes problems with CAMs and AC3 sound only working the first time + for making the main loop take an active video cutting process into account when + doing shutdown or housekeeping Ulrich Röder for pointing out that there are channels that have a symbol rate higher than diff --git a/HISTORY b/HISTORY index b8344856..17adc8e3 100644 --- a/HISTORY +++ b/HISTORY @@ -1218,3 +1218,8 @@ Video Disk Recorder Revision History AC3 sound only working the first time (thanks to Stefan Huelswitt). - Now encoding '.' at the end of a directory name in case of VFAT=1, since Windows can't handle these (thanks to Simon Dean for reporting this one). + +2002-04-26: Version 1.0.2 + +- Now taking an active video cutting process into account when doing shutdown or + housekeeping (thanks to Stefan Huelswitt). diff --git a/vdr.c b/vdr.c index 874e8264..89aac3cb 100644 --- a/vdr.c +++ b/vdr.c @@ -22,7 +22,7 @@ * * The project's page is at http://www.cadsoft.de/people/kls/vdr * - * $Id: vdr.c 1.102 2002/03/29 10:09:20 kls Exp $ + * $Id: vdr.c 1.103 2002/04/26 12:15:30 kls Exp $ */ #include @@ -469,7 +469,7 @@ int main(int argc, char *argv[]) Interface->Info(tr("Editing process finished")); } } - if (!*Interact && (!cRecordControls::Active() || ForceShutdown)) { + if (!*Interact && ((!cRecordControls::Active() && !cVideoCutter::Active()) || ForceShutdown)) { time_t Now = time(NULL); if (Now - LastActivity > ACTIVITYTIMEOUT) { // Shutdown: