d3d11videosink: Disable d3d11videosink depending on supported feature level
authorSeungha Yang <seungha@centricular.com>
Mon, 15 Jun 2020 19:41:14 +0000 (04:41 +0900)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 25 Jun 2020 07:55:47 +0000 (07:55 +0000)
commit82189d6859f2c19c9065c65e56081e373e3a6e25
tree760f8fd7822285c3b75aefaf8e32831a3c16af57
parente2f28c3d0889beff2a72316cf879111031a27289
d3d11videosink: Disable d3d11videosink depending on supported feature level

Current shader code is not compatible with HLSL profile "ps_4_0_level_9_3"
or lower. So d3dcompiler cannot compile our shader code in that case.
Note that VirtualBox is one known driver which doesn't support currently
implemented shader code.

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