d3d11memory: Protect view object with lock
authorSeungha Yang <seungha@centricular.com>
Sat, 24 Oct 2020 11:59:55 +0000 (20:59 +0900)
committerSeungha Yang <seungha@centricular.com>
Sat, 24 Oct 2020 15:38:52 +0000 (00:38 +0900)
commit9d810bbd810ff1077f2d145a0d18920649aec73c
treea66ded825e993c5d82358a05b4667150b0f38fae
parent969ab3e664e437e9caa4878405e0e07c43cbe08a
d3d11memory: Protect view object with lock

Make resource allocation more thread-safe

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1718>
sys/d3d11/gstd3d11memory.c
sys/d3d11/gstd3d11memory.h