MasayukiSuda / GPUVideo-android

This library apply video filter on generate an Mp4 and on ExoPlayer video and Video Recording with Camera2.
MIT License
658 stars 179 forks source link

Issue occuered after upgrade Exoplayer to 2.13.3 #84

Open bhavin1994 opened 3 years ago

bhavin1994 commented 3 years ago

java.lang.IllegalStateException: Player is accessed on the wrong thread. See https://exoplayer.dev/issues/player-accessed-on-wrong-thread at com.google.android.exoplayer2.SimpleExoPlayer.verifyApplicationThread(SimpleExoPlayer.java:1953) at com.google.android.exoplayer2.SimpleExoPlayer.setVideoSurface(SimpleExoPlayer.java:791) at com.daasuu.gpuv.player.GPUPlayerRenderer.onSurfaceCreated(GPUPlayerRenderer.java:94) at com.daasuu.gpuv.egl.GlFrameBufferObjectRenderer.onSurfaceCreated(GlFrameBufferObjectRenderer.java:38) at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1541) at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1272)

alpha2048 commented 3 years ago

Maybe this is the same issue: https://github.com/MasayukiSuda/ExoPlayerFilter/issues/53