Skip to content

opengl interops: signify the interop is outputting RGBA/BGRA

Steve Lhomme requested to merge robUx4/vlc:gl_rgba into master

The vlc_gl_tex_cfg format is GL_RGBA or GL_BGRA.

We have to set a new chroma otherwise it would use the input format of the interop in the sampler. In that code it only matters if this is a YUV chroma (and what kind of YUV). Otherwise any RGB chroma will be correct. It's better to provide a hint of what kind of RGB we're providing, VLC_CODEC_RGB32 being the worst.

Edited by Steve Lhomme

Merge request reports