From 278037ebfb816ad39f8546a194131e89803e7075 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 17 Jul 2014 09:57:24 +0100 Subject: Speculative fix for failure to keep the computer awake during encodes on Windows. --- src/lib/cross.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') 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 } -- cgit v1.2.3