Commit 366257d1 authored by Seungha Yang's avatar Seungha Yang 🐑 Committed by GStreamer Marge Bot
Browse files

gst-plugins-bad: Enable wasapi2 only for Visual Studio 2017 or newer

Windows SDK installed with Visual Studio 2015 doesn't define
required symbols, such as IAudioClient3

Fixes: #322
Part-of: <!693>
parent b8f7c8da
Pipeline #299787 passed with stages
in 55 minutes and 28 seconds
......@@ -491,9 +491,11 @@ class Recipe(custom.GStreamer):
# built with MSVC, it uses Meson but it doesn't build:
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')
# requires at least Visual Studio 2017
self.enable_plugin('wasapi2', 'sys', 'visualstudio')
if self.meson_options['d3d11'] == 'enabled':
self.files_libs += ['libgstd3d11-1.0']
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