Playing video in a GLSurfaceView instead of SurfaceView

前端 未结 4 516
醉梦人生
醉梦人生 2021-01-19 21:12

I\'ve been struggling with this for 2 days now... Following this answer: https://stackoverflow.com/a/2006454/444324 - it is mentioned that it\'s possible to play a video in

4条回答
  •  伪装坚强ぢ
    2021-01-19 21:42

    Why did you implement a class (com.commonsware.android.camera.GLSurfaceView) with the same name as the GLSurfaceView ?

    If you declared the view as an android.opengl.GLSurfaceView in layout XML you cannot cast it to com.commonsware.android.camera.GLSurfaceView

提交回复
热议问题