gstreamer/gst-libs
Seungha Yang 360a195158 d3d11memory: Protect map and unmap with device lock
We should lock memory object with gst_d3d11_device_lock() first
then GST_D3D11_MEMORY_LOCK() need to be used.

One observed deadlock case is that:
- Thread A takes d3d11 device lock
- At the same time, Thread B tries CPU map to d3d11memory which requires
  d3d11 device lock as well, but it's already taken by Thread A.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2267>
2021-05-20 11:19:44 +00:00
..
gst d3d11memory: Protect map and unmap with device lock 2021-05-20 11:19:44 +00:00
meson.build Add support for Meson as alternative/parallel build system 2016-08-20 11:35:54 +01:00