smasherprog / screen_capture_lite

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

Failure on Windows 10 #79

Closed ababo closed 4 years ago

ababo commented 4 years ago

I get the following output (and no frames retrieved):

Exiting Thread due to expected error Exiting Thread due to Unexpected error

On OSX and Linux it works properly.

Note: On some Windows machines it works only for a first time after reboot, and then fails as described above.

ababo commented 4 years ago

I use onNewFrame() method to get frames. Subscribing to onFrameChanged causes segfault (do you have some documentation explaining difference between these two events?).

ababo commented 4 years ago

In some cases no error is shown, but the screen in black.

smasherprog commented 4 years ago

Do you get this when running the example program included in this repo?

smasherprog commented 4 years ago

Could you try running the examples in the repo here?

ababo commented 4 years ago

It looks that's my bug, sorry for the false alarm. Closing the issue.