cats-oss / android-gpuimage

Android filters based on OpenGL (idea from GPUImage for iOS)
9k stars 2.27k forks source link

java.lang.IllegalArgumentException: bitmap is recycled #306

Open cs8 opened 8 years ago

cs8 commented 8 years ago

when I put GUPImage into a viewpager, sometime it's crashed. This is the error Log

at android.opengl.GLUtils.texImage2D(GLUtils.java:160) at jp.co.cyberagent.android.gpuimage.OpenGlUtils.loadTexture(OpenGlUtils.java:49) at jp.co.cyberagent.android.gpuimage.GPUImageRenderer$5.run(GPUImageRenderer.java:220) at jp.co.cyberagent.android.gpuimage.GPUImageRenderer.onDrawFrame(GPUImageRenderer.java:113) at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1522) at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1239)

ijays7 commented 7 years ago

I got a same question. Do you find any solutions?

cs8 commented 7 years ago

finally I use gpuimage-plus instand of it