mfvideoenc: Enable Direct3D multi-thread protection
authorSeungha Yang <seungha@centricular.com>
Sat, 20 Mar 2021 07:26:21 +0000 (16:26 +0900)
committerSeungha Yang <seungha@centricular.com>
Sat, 20 Mar 2021 08:54:04 +0000 (17:54 +0900)
commite22befad2ed3a411e73aa03f2b014ada9d953b5c
tree38b87fd31df0c19c27589bf1fc64b83f7195700f
parent824b0ce0f417ac2e947d4c129688eb3ae045ffcb
mfvideoenc: Enable Direct3D multi-thread protection

As documented by MS. See also
https://docs.microsoft.com/en-us/windows/win32/medfound/supporting-direct3d-11-video-decoding-in-media-foundation#open-a-device-handle

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2095>
sys/mediafoundation/gstmfvideoenc.cpp
sys/mediafoundation/meson.build