Skip to content

vaapi: Lock wayland display dmabuf formats against concurrent access

If there are multiple Wayland event listeners in different threads we get the formats and modifiers pushed concurrently which leads to segfault from GArray methods. This patch protects the array.

The problem occurs e.g. when using vaapipostproc together with Qt qmlglsink, QtWayland will get the events as well as VAAPI.

Merge request reports