LibVLC: AWindow: re-use the same SurfaceTexture
Call attachToGLContext/detachFromGLContext on a same SurfaceTexture instance. That way, we don't have to re-configure MediaCodec in order to setup the new Surface when the video size change mid-stream (and when a new OpenGL vout is created).
Loading
Please register or sign in to comment