screen-recorder
screen-recorder copied to clipboard
Crashed when i use dxgi duplication to capture a rotate screen
I checked the api doc, which says:
In a rotated mode, the surface that you receive from IDXGIOutputDuplication::AcquireNextFrame is always in the un-rotated orientation, and the desktop image is rotated within the surface. For example, if the desktop is set to 768x1024 at 90 degrees rotation, AcquireNextFrame returns a 1024x768 surface with the desktop image rotated within it. Maybe the code missed this point.
Thanks for your feedback, I will check this later