projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Speculative fix for failure to keep the computer awake during encodes on Windows.
[dcpomatic.git]
/
src
/
lib
/
cross.cc
diff --git
a/src/lib/cross.cc
b/src/lib/cross.cc
index e30cf64598f57e717745cc22291022ebbb0eccac..9b7d5594f392ecde245ff6646ccce4766133a1f2 100644
(file)
--- 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
}