d3d11videosink: Add display-format property
authorSeungha Yang <seungha@centricular.com>
Tue, 23 Aug 2022 15:13:21 +0000 (00:13 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 24 Aug 2022 17:44:49 +0000 (17:44 +0000)
commit0a65aaa6d24784313f2e36306220baf9d40d9810
tree99c57e16f695d5a12e14063bd9a4a6913aaaec1d
parent470436d7e6f7c2427e68e5e2baa07a4bae70d0d7
d3d11videosink: Add display-format property

Make swapchian's display format configurable, since some DXGI formats
we can use for swapchain are not API interop compatible.
For instance, BGRA format should be used for Direct2D interop.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2923>
subprojects/gst-plugins-bad/sys/d3d11/gstd3d11videosink.cpp
subprojects/gst-plugins-bad/sys/d3d11/gstd3d11window.cpp
subprojects/gst-plugins-bad/sys/d3d11/gstd3d11window.h
subprojects/gst-plugins-bad/sys/d3d11/gstd3d11window_dummy.cpp