smasherprog / screen_capture_lite

cross platform screen/window capturing library
MIT License
648 stars 156 forks source link

Hi guys,what can I do for mac os. #167

Open gengshenchen opened 2 weeks ago

gengshenchen commented 2 weeks ago

Starting Capture Demo/Test Testing captured monitor bounds check Checking for Permission to capture the screen Application Not Allowed to Capture the screen. Waiting for permission

gengshenchen commented 2 weeks ago

Can anyone help? I have used it in a project and found that there is a problem with mac. You can take screenshots if you check the permissions, but the current screenshot does not include the entire screen, only a small area in the upper left corner, and the demo also crashed.

onNewFrame fps10 Testing changing the interval during runtime for race conditions onNewFrame fps32 onNewFrame fps89 screen_capture_example_cpp_shared(39062,0x16f283000) malloc: Heap corruption detected, free list is damaged at 0x600003252460 Incorrect guard value: 72057601948992985 screen_capture_example_cpp_shared(39062,0x16f283000) malloc: set a breakpoint in malloc_error_break to debug zsh: abort

smasherprog commented 2 weeks ago

I dont currently maintain the mac portion of this library any more. If you can step in and fix it, that would be amazing!