Skip to content
Commit 063da528 authored by Thomas Guillem's avatar Thomas Guillem
Browse files

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).
parent 77e8f22a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment