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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment