screen-recorder icon indicating copy to clipboard operation
screen-recorder copied to clipboard

Crashed when i use dxgi duplication to capture a rotate screen

Open windboy12138 opened this issue 1 year ago • 1 comments

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.

windboy12138 avatar Mar 30 '23 08:03 windboy12138

Thanks for your feedback, I will check this later

peilinok avatar Mar 30 '23 14:03 peilinok