summaryrefslogtreecommitdiff
path: root/recipes/gst-plugins-bad-1.0.recipe
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/gst-plugins-bad-1.0.recipe')
-rw-r--r--recipes/gst-plugins-bad-1.0.recipe4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes/gst-plugins-bad-1.0.recipe b/recipes/gst-plugins-bad-1.0.recipe
index 9aa12aa6..f9fff95d 100644
--- a/recipes/gst-plugins-bad-1.0.recipe
+++ b/recipes/gst-plugins-bad-1.0.recipe
@@ -491,9 +491,11 @@ 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')
+ else:
+ # requires at least Visual Studio 2017
+ self.enable_plugin('wasapi2', 'sys', 'visualstudio')
if self.meson_options['d3d11'] == 'enabled':
self.files_libs += ['libgstd3d11-1.0']