Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPUImageFramebuffer unlock crash on capturing "currentImage" #241

Open
CR34L opened this issue Aug 23, 2017 · 0 comments
Open

GPUImageFramebuffer unlock crash on capturing "currentImage" #241

CR34L opened this issue Aug 23, 2017 · 0 comments

Comments

@CR34L
Copy link

CR34L commented Aug 23, 2017

If calling this method within a NSTimer the app is crashing with: Tried to overrelease a framebuffer, did you forget to call -useNextFrameForImageCapture before using -imageFromCurrentFramebuffer?
File: GPUImageFramebuffer.m, Line: 269

Code:
func createScreenShot() { DispatchQueue.main.async { if let screeny = self.session.currentImage { // do something else here self.currentScreen.image = screeny; } } }

May I missing something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant