Open ruslo opened 9 years ago
windowSurface.makeCurrent(); // <=== this works
// update camera frame texture
GLES20.glActiveTexture(GLES20.GL_TEXTURE1);
windowSurface.makeCurrent();
works for me
Hi, I didn't have the time to look into this for now, but if this fixes the error for you, please create a patch and submit a pull request.
but if this fixes the error for you, please create a patch and submit a pull request
Yes it fixes the error but as you can see from the SO answer (answer by author of grafika) it may lead to problems with UI in future. Probably since UI/example is quite simple we don't see any glitches. I will take a look at possibility to move work with camera to a separate thread.
Hi,
I'm trying to run OGVideoProcDroid example on my Android device and got runtime error. Here are the steps to reproduce:
I've put some extra log messages (see my branch), look like it's crashing in
camTexture.updateTexImage()
method:Thanks, Ruslo
@headupinclouds +cc