Commit dece92dd authored by Seungha Yang's avatar Seungha Yang 🐑
Browse files

gst-plugins-bad-1.0: Enable waspi2 plugin for visual studio build

wasapi2 plugin is able to auto update target WINVER if Windows 10
SDK is available

Part-of: <!573>
parent 857098d1
Pipeline #278369 passed with stages
in 76 minutes and 53 seconds
......@@ -487,6 +487,7 @@ class Recipe(custom.GStreamer):
# built with MSVC, it uses Meson but it doesn't build:
# https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/issues/2
self.disable_plugin('webrtcdsp', 'effects', dep='webrtc-audio-processing')
self.enable_plugin('wasapi2', 'sys', 'visualstudio')
if self.config.msvc_version == 'vs14':
self.disable_plugin('d3d11', 'sys')
......@@ -517,7 +518,6 @@ class Recipe(custom.GStreamer):
self.deps.append('openssl')
if self.using_uwp():
self.enable_plugin('wasapi2', 'sys', 'uwp')
# Uses unavailable APIs
self.disable_plugin('d3d', 'sys', option='d3dvideosink')
self.disable_plugin('decklink', 'sys')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment