d3d11: Handle device change
authorSeungha Yang <seungha@centricular.com>
Tue, 27 Apr 2021 12:52:31 +0000 (21:52 +0900)
committerSeungha Yang <seungha@centricular.com>
Wed, 28 Apr 2021 07:26:58 +0000 (16:26 +0900)
commit957034d71aaa075cec327effcaa0696897d02120
tree30fe692dbd0f4a181bb2f75554526941599cb593
parent227aaed8d40de45e0c21ff1e6f87ec37f84ace82
d3d11: Handle device change

If incoming buffer holds other d3d11 device, and user wants any device
(i.e., adapter index wasn't specified explicitly) update our device
with that of buffer.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2191>
sys/d3d11/gstd3d11basefilter.cpp
sys/d3d11/gstd3d11compositor.cpp
sys/d3d11/gstd3d11deinterlace.cpp
sys/d3d11/gstd3d11videosink.cpp