summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-04-26 12:17:38 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-04-26 12:17:38 +0200
commit3b656e9e46632e53b32714728e3ce3123995a916 (patch)
treeef87e8ffd5e13d9317a414025a33fde9eb4e2ebe /vdr.c
parent2e3030a963efe5f98062f25af03e87b79b25ea38 (diff)
downloadvdr-3b656e9e46632e53b32714728e3ce3123995a916.tar.gz
vdr-3b656e9e46632e53b32714728e3ce3123995a916.tar.bz2
Now taking an active video cutting process into account when doing shutdown or housekeeping
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c4
1 files changed, 2 insertions, 2 deletions
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 <getopt.h>
@@ -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: