Scott
Scott
Your saying it does not resume capturing? The reason the library stops and restarts is mostly because its easier to do this. There are buffers and assumptions that the library...
Also, removing that line of code will cause your stomp all over memory if the new area to capture is larger than the previous one since the buffers are pre...
https://github.com/smasherprog/screen_capture_lite/blob/49873d57dc96a6e3d3b842664ae2142ee1f383d4/src/ScreenCapture.cpp#L76 This is the main loop. As long as expected errors keep recurring, the library will restart itself automatically.
Okay so the library is working. The issue your pointing out is that while resizing a window, the library does not continuously capture the resizing as fast as it should...
When an expected error occurs the library will rebuild itself calling init, getting a new list of windows/monitors to capture. Just following the code from what I linked above. The...
I think you will need to debug a little more unfortunately as the library is supposed to rebuild itself when a resize event occurs(Not the best way it should be...
These are these are the areas where these events are handled https://github.com/smasherprog/screen_capture_lite/blob/49873d57dc96a6e3d3b842664ae2142ee1f383d4/src/ScreenCapture.cpp#L85 AND https://github.com/smasherprog/screen_capture_lite/blob/49873d57dc96a6e3d3b842664ae2142ee1f383d4/include/internal/ThreadManager.h#L112 So if its not resuming this will be easy to spot
Ok, so your saying when the thread aborts, is the callback to get windows called again? https://github.com/smasherprog/screen_capture_lite/blob/49873d57dc96a6e3d3b842664ae2142ee1f383d4/Example/Screen_Capture_Example.cpp#L132 So im gonna layout what I think is the the callstack https://github.com/smasherprog/screen_capture_lite/blob/49873d57dc96a6e3d3b842664ae2142ee1f383d4/src/ios/CGFrameProcessor.cpp#L29 Is...
What I think we will find is that you have a buffer overrun somewhere that is overwriting the memory.
Another possibility is that the size of the image coming out of https://github.com/smasherprog/screen_capture_lite/blob/49873d57dc96a6e3d3b842664ae2142ee1f383d4/src/ios/CGFrameProcessor.cpp#L21 has changed in some release of ios. Maybe it not includes padding or something else? The get...