Speculative fix for failure to keep the computer awake during encodes on Windows.
authorCarl Hetherington <cth@carlh.net>
Thu, 17 Jul 2014 08:57:24 +0000 (09:57 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 17 Jul 2014 08:57:24 +0000 (09:57 +0100)
ChangeLog
src/lib/cross.cc

index bc387ac2c9a8fb65b198c5d3f8aba4cd6b8ba02d..4e256adddf40192ec98fbab4d0c14b025d82fe97 100644 (file)
--- 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.
index e30cf64598f57e717745cc22291022ebbb0eccac..9b7d5594f392ecde245ff6646ccce4766133a1f2 100644 (file)
@@ -310,7 +310,7 @@ void
 Waker::nudge ()
 {
 #ifdef DCPOMATIC_WINDOWS
-       SetThreadExecutionState (ES_CONTINUOUS);
+       SetThreadExecutionState (ES_SYSTEM_REQUIRED);
 #endif 
 }