mfvideosrc: Enable WinRT capture impl. for desktop target
authorSeungha Yang <seungha@centricular.com>
Tue, 14 Jul 2020 10:59:09 +0000 (19:59 +0900)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 14 Jul 2020 16:59:06 +0000 (16:59 +0000)
commita43d6f6cd9cf962838a1fdaafe4cb24509e8c8b1
tree1ea3bb239fc14b91b4616e017904eba9577a7289
parent2d71ad49f8dcd5ec72fadb9436484b3fcb3bf27c
mfvideosrc: Enable WinRT capture impl. for desktop target

... if target OS version was specified as Windows 10.
When enabled, desktop application can select target capture
implementation between WinRT and Win32
via GST_USE_MF_WINRT_CAPTURE environment
(e,g., GST_USE_MF_WINRT_CAPTURE=1 for WinRT impl.).
Default is Win32 implementation in case of desktop target.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1434>
sys/mediafoundation/gstmfcapturewinrt.cpp
sys/mediafoundation/gstmfdevice.c
sys/mediafoundation/gstmfsourceobject.c
sys/mediafoundation/gstmfsourceobject.h
sys/mediafoundation/gstmfsourcereader.cpp
sys/mediafoundation/gstmfutils.cpp
sys/mediafoundation/gstmfvideosrc.c
sys/mediafoundation/meson.build
sys/mediafoundation/plugin.c