From 278037ebfb816ad39f8546a194131e89803e7075 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 17 Jul 2014 09:57:24 +0100 Subject: [PATCH] Speculative fix for failure to keep the computer awake during encodes on Windows. --- ChangeLog | 5 +++++ src/lib/cross.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bc387ac2c..4e256addd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-07-17 Carl Hetherington + + * Speculative fix for failure to keep Windows + machines awake during encodes. + 2014-07-16 Carl Hetherington * Version 1.72.4 released. diff --git a/src/lib/cross.cc b/src/lib/cross.cc index e30cf6459..9b7d5594f 100644 --- a/src/lib/cross.cc +++ b/src/lib/cross.cc @@ -310,7 +310,7 @@ void Waker::nudge () { #ifdef DCPOMATIC_WINDOWS - SetThreadExecutionState (ES_CONTINUOUS); + SetThreadExecutionState (ES_SYSTEM_REQUIRED); #endif } -- 2.30.2