Skip to content

exception calling updateTexImage in onDrawFrame of GlCameraPreview#1

Open
r-cohen wants to merge 1 commit into
EzequielAdrianM:mainfrom
r-cohen:main
Open

exception calling updateTexImage in onDrawFrame of GlCameraPreview#1
r-cohen wants to merge 1 commit into
EzequielAdrianM:mainfrom
r-cohen:main

Conversation

@r-cohen
Copy link
Copy Markdown

@r-cohen r-cohen commented Dec 15, 2025

This PR handles an exception observed in published application. The fix is similar to one you applied previously calling the same method in a different class.

          Fatal Exception: java.lang.RuntimeException: Error during updateTexImage (see logcat for details)
       at android.graphics.SurfaceTexture.nativeUpdateTexImage(SurfaceTexture.java)
       at android.graphics.SurfaceTexture.updateTexImage(SurfaceTexture.java:251)
       at com.otaliastudios.cameraview.preview.GlCameraPreview$Renderer.onDrawFrame(GlCameraPreview.java:210)
       at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1573)
       at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1272)

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

Successfully merging this pull request may close these issues.

1 participant