summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2022-02-09 15:20:20 +0530
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2022-02-17 15:12:28 +0000
commit96629f8f98db145b12bb95df8be4fe625ca6488c (patch)
treec7c0e5f7b8d718d8e3efade39371d6edb7b4cf0d
parent5e1a8339d08758d10b391e7bbf218a1fa8f956a1 (diff)
gst-plugins-bad: Disable MoltenVK on macOS arm64
This is likely a codesign issue, but till it's fixed we should at least get the applemedia plugin working again. Fixes https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/361 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/809>
-rw-r--r--recipes/gst-plugins-bad-1.0.recipe6
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes/gst-plugins-bad-1.0.recipe b/recipes/gst-plugins-bad-1.0.recipe
index 0fba8abb..eaca6546 100644
--- a/recipes/gst-plugins-bad-1.0.recipe
+++ b/recipes/gst-plugins-bad-1.0.recipe
@@ -512,8 +512,12 @@ class Recipe(custom.GStreamer):
if self.config.target_platform in (Platform.ANDROID):
self.deps += ['vulkan-android']
+ # TODO: Vulkan support on Linux and Windows
+ # No MoltenVK available for iOS x86_64
+ # Disabled on macOS ARM64 due to https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/361
if self.config.target_platform not in (Platform.DARWIN, Platform.IOS, Platform.ANDROID) or \
- (self.config.target_platform == Platform.IOS and self.config.target_arch != Architecture.ARM64):
+ (self.config.target_platform == Platform.IOS and self.config.target_arch != Architecture.ARM64) or \
+ (self.config.target_platform == Platform.DARWIN and self.config.target_arch == Architecture.ARM64):
self.disable_plugin('vulkan', 'vulkan', library_name='vulkan')
if self.config.target_platform in (Platform.ANDROID, Platform.IOS):