diff options
author | Seungha Yang <seungha@centricular.com> | 2021-01-13 00:39:23 +0900 |
---|---|---|
committer | Seungha Yang <seungha@centricular.com> | 2021-02-18 09:15:18 +0000 |
commit | dece92ddb26c93502e0516865c7b6c2f3d896e33 (patch) | |
tree | 4e31f856d0eaeedbcd65e27c8de1ee90a824a100 | |
parent | 857098d192a4bd9485eba7b97164e2e7e2d43189 (diff) |
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: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/573>
-rw-r--r-- | recipes/gst-plugins-bad-1.0.recipe | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/gst-plugins-bad-1.0.recipe b/recipes/gst-plugins-bad-1.0.recipe index 19a2e28e..18d1efc7 100644 --- a/recipes/gst-plugins-bad-1.0.recipe +++ b/recipes/gst-plugins-bad-1.0.recipe @@ -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') |