summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeungha Yang <seungha@centricular.com>2025-06-30 00:54:52 +0900
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2025-07-02 19:46:06 +0000
commitbebb6d413055e77c10c56ebee8de17c3f6ca8c28 (patch)
tree575051f0ed87c974d57af1d3557ab48f0ade63a5
parent5a72dc104b4d1ee590b37e6fb12847fc19c71065 (diff)
gst-plugins-bad: Ship wasapi2 plugin in MinGW build as wellHEADmain
WinRT dependencies got dropped and MinGW build is supported See also https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9307 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1876>
-rw-r--r--recipes/gst-plugins-bad-1.0.recipe6
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/gst-plugins-bad-1.0.recipe b/recipes/gst-plugins-bad-1.0.recipe
index 3c189843..eb2e8547 100644
--- a/recipes/gst-plugins-bad-1.0.recipe
+++ b/recipes/gst-plugins-bad-1.0.recipe
@@ -516,7 +516,6 @@ class Recipe(custom.GStreamer):
self.enable_plugin('frei0r', 'effects', dep='frei0r-plugins')
if self.config.target_platform == Platform.WINDOWS:
- self.meson_options['wasapi2'] = 'disabled'
self.meson_options['wasapi'] = 'enabled'
self.meson_options['d3dvideosink'] = 'enabled'
self.meson_options['d3d11'] = 'enabled'
@@ -526,8 +525,7 @@ class Recipe(custom.GStreamer):
self.meson_options['winks'] = 'enabled'
self.meson_options['winscreencap'] = 'enabled'
if self.using_msvc():
- self.enable_plugin('wasapi2', 'sys', 'visualstudio')
- # This dll is used by wasapi2 and mediafoundation UWP build
+ # This dll is used by mediafoundation UWP build
self.files_libs += ['libgstwinrt-1.0']
# WIC plugin supports only MSVC built for now
self.enable_plugin('wic', 'codecs')
@@ -573,6 +571,7 @@ class Recipe(custom.GStreamer):
self.enable_plugin('qt6d3d11', 'qt6', 'qt6')
self.enable_plugin('asio', 'sys')
self.enable_plugin('mediafoundation', 'sys')
+ self.enable_plugin('wasapi2', 'sys')
if self.config.target_platform in (Platform.LINUX, Platform.WINDOWS):
self.enable_plugin('nvcodec', 'codecs')
@@ -616,6 +615,7 @@ class Recipe(custom.GStreamer):
self.disable_plugin('directsoundsrc', 'capture', option='directsound')
self.disable_plugin('directshow', 'sys')
self.disable_plugin('wasapi', 'sys')
+ self.disable_plugin('wasapi2', 'sys')
self.disable_plugin('win32ipc', 'sys')
self.disable_plugin('winscreencap', 'capture')
self.disable_plugin('winks', 'capture')