[vlc-commits] qtsound: Fix compilation with 10.13 SDK
David Fuhrmann
git at videolan.org
Sun Oct 21 18:24:05 CEST 2018
vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sun Oct 21 18:20:19 2018 +0200| [194f2787e574ba7504be9a4970b9338777ba6953] | committer: David Fuhrmann
qtsound: Fix compilation with 10.13 SDK
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=194f2787e574ba7504be9a4970b9338777ba6953
---
modules/access/qtsound.m | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/modules/access/qtsound.m b/modules/access/qtsound.m
index 6113518f84..6950ba3e2c 100644
--- a/modules/access/qtsound.m
+++ b/modules/access/qtsound.m
@@ -44,6 +44,12 @@
#import <QTKit/QTKit.h>
#import <AVFoundation/AVFoundation.h>
+ at interface AVCaptureDevice (AVCaptureDeviceAuthorizationSince10_14)
+
++ (void)requestAccessForMediaType:(AVMediaType)mediaType completionHandler:(void (^)(BOOL granted))handler API_AVAILABLE(macos(10.14), ios(7.0));
+
+ at end
+
/*****************************************************************************
* Local prototypes.
*****************************************************************************/
More information about the vlc-commits
mailing list