mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-22 18:54:33 +00:00
26 lines
1 KiB
Diff
26 lines
1 KiB
Diff
From fa539c42901922c1b5dfde96030b3fe38490c7ee Mon Sep 17 00:00:00 2001
|
|
From: tobtoht <tob@featherwallet.org>
|
|
Date: Sat, 26 Nov 2022 21:53:33 +0100
|
|
Subject: [PATCH] no __builtin_available
|
|
|
|
---
|
|
src/plugins/multimedia/darwin/qdarwinintegration.mm | 3 +--
|
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
|
|
diff --git a/qtmultimedia/src/plugins/multimedia/darwin/qdarwinintegration.mm b/qtmultimedia/src/plugins/multimedia/darwin/qdarwinintegration.mm
|
|
index 314ceaff6..32d8a2f6e 100644
|
|
--- a/qtmultimedia/src/plugins/multimedia/darwin/qdarwinintegration.mm
|
|
+++ b/qtmultimedia/src/plugins/multimedia/darwin/qdarwinintegration.mm
|
|
@@ -39,8 +39,7 @@ public:
|
|
QDarwinIntegration::QDarwinIntegration()
|
|
{
|
|
#if defined(Q_OS_MACOS) && QT_MACOS_PLATFORM_SDK_EQUAL_OR_ABOVE(__MAC_11_0)
|
|
- if (__builtin_available(macOS 11.0, *))
|
|
- VTRegisterSupplementalVideoDecoderIfAvailable(kCMVideoCodecType_VP9);
|
|
+ VTRegisterSupplementalVideoDecoderIfAvailable(kCMVideoCodecType_VP9);
|
|
#endif
|
|
m_videoDevices = new QAVFVideoDevices(this);
|
|
}
|
|
--
|
|
2.38.1
|
|
|