Skip to content

qml: handle multiple items with different input formats

Issue was that Qt was caching multiple different shadersbased on a static variable location. This static variable location was the same no matter the input video format and so if an item had an input video format of RGB and another of RGBA, they would eventually end up using the same GL shader leading to incorrect colours.

Fix by providing different static variable locations for each of the different shaders that will be produced.

Merge request reports