summaryrefslogtreecommitdiffstats
path: root/demux/demux_mkv.c
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossymiles@gmail.com>2013-06-27 12:27:34 +1000
committerJames Ross-Gowan <rossymiles@gmail.com>2013-06-30 23:41:06 +1000
commitd3b68a283fd3d2e9a98a9fd5a617ec89448bd389 (patch)
treef2ea1e737067f6d1d6a87aeff3f7d266eab0bc90 /demux/demux_mkv.c
parent0a1c49794531bf62dcbfb33e1f0adae5f14fe718 (diff)
downloadmpv-d3b68a283fd3d2e9a98a9fd5a617ec89448bd389.tar.bz2
mpv-d3b68a283fd3d2e9a98a9fd5a617ec89448bd389.tar.xz
w32_common: prevent display power management
Handling SC_MONITORPOWER doesn't seem to prevent the screen from dimming. The recommended way to do this in Windows XP and Vista is to call SetThreadExecutionState with ES_DISPLAY_REQUIRED. Windows 7 also has the PowerCreateRequest/PowerSetRequest/PowerClearRequest APIs but they're probably too complicated for this task.
Diffstat (limited to 'demux/demux_mkv.c')
0 files changed, 0 insertions, 0 deletions