ScreenRecorderLib icon indicating copy to clipboard operation
ScreenRecorderLib copied to clipboard

Power saving screen off behaves differently on different systems

Open sskodje opened this issue 4 years ago • 0 comments

On some systems, when power saving turns off the screen, we get DXGI_ERROR_ACCESS_LOST and it will display a black frame while there is no video output. On others, there is only DXGI_ERROR_WAIT_TIMEOUT, causing the recording to display the last cached frame while there is no video output.

May be needed to listen for power events to detect when the display is turned off.

https://docs.microsoft.com/en-us/windows/win32/power/registering-for-power-events

sskodje avatar Oct 14 '20 12:10 sskodje