ra1nty / DXcam

A Python high-performance screen capture library for Windows using Desktop Duplication API
MIT License
504 stars 70 forks source link

how to get rid of "idling" feature? #59

Open wookidooki8 opened 1 year ago

wookidooki8 commented 1 year ago

i need to take a screenshot even though when there is no change in screen dxcam seems to work faster than win32api for me but the only problem is the 'idling' feature. it wont take a screenshot unless theres a change so how do i get rid of it?

JiaPai12138 commented 1 year ago

https://github.com/ra1nty/DXcam/blob/main/dxcam/core/duplicator.py#L26 try change this line from 0 to 20