smasherprog / screen_capture_lite

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

Last updates broke Linux #39

Closed hardillb closed 6 years ago

hardillb commented 6 years ago

The last set of updates seam to have broken Linux.

When I call ExtractAndConvertToRGB or ExtractAndConvertToRGB565 I'm getting a sigsegv.

For a 128x128 image it looks like it's managing to process the first 2 lines (so the address returned for img.Data is at 256 bytes before somewhere it can't access) but falls over trying to access the first pixel of the 3rd line.

hardillb commented 6 years ago

The example app is also falling over in X11FrameProcessor::ProcessFrame when trying to do a partial capture.

(I'm running on ubuntu 16.04)

hardillb commented 6 years ago

reverting back to before the x11 and linux update works again

smasherprog commented 6 years ago

I was coding while watching a movie and not paying much attention. Linux looks like it was working the whole time.

Reverted in master