Skip to content
  • Thomas Guillem's avatar
    android: vout: re-use the same SurfaceTexture · c547de6f
    Thomas Guillem authored
    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).
    c547de6f