d3d11: Don't assume response of context query has valid d3d11 device context
authorSeungha Yang <seungha@centricular.com>
Tue, 16 Jun 2020 10:26:13 +0000 (19:26 +0900)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 16 Jun 2020 11:23:34 +0000 (11:23 +0000)
commitf899728dd45bbf154123bca3c1c8c9e2b6af5c24
tree09279bd32bd8e7c045559cf6fce4faa8344ed327
parentbc99ea1e30dc5fa662de91edc74724ee040ec664
d3d11: Don't assume response of context query has valid d3d11 device context

Peer elements should return FALSE if d3d11 device context is unavailable
but it might happen for some reason (e.g., wrong implementation or so)

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