summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-17 09:57:24 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-17 09:57:24 +0100
commit278037ebfb816ad39f8546a194131e89803e7075 (patch)
tree3048f5ae34648eec933d387641da2eb16106bc1a
parentb1101aa464f3b7cca89dfb868dd573b6d9bde195 (diff)
Speculative fix for failure to keep the computer awake during encodes on Windows.
-rw-r--r--ChangeLog5
-rw-r--r--src/lib/cross.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bc387ac2c..4e256addd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-07-17 Carl Hetherington <cth@carlh.net>
+
+ * Speculative fix for failure to keep Windows
+ machines awake during encodes.
+
2014-07-16 Carl Hetherington <cth@carlh.net>
* 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
}