Skip to content
Commit ec2b3edf authored by Alexandre Janniaux's avatar Alexandre Janniaux
Browse files

libvlc: VideoHelper: configure VideoTexture correctly

The view to setup can be either mSurfaceVideo or mSurfaceTexture but
mSurfaceVideo was unconditionnaly setup and mSurfaceTexture was never
setup. In addition, the SurfaceTexture was extracted from the
TextureView before it's creation so it was null.

Instead, only setup the SurfaceTexture from the listener call and use
an intermediate variable to configure the correct surface.

fix #1359
parent f0f9fa9a
Loading
Loading
Loading
Pipeline #20543 passed with stage
in 19 minutes and 45 seconds
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