[vlc-commits] qtsound: Fix compilation with 10.13 SDK
David Fuhrmann
git at videolan.org
Sat Oct 27 17:49:09 CEST 2018
vlc/vlc-3.0 | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sun Oct 21 18:20:19 2018 +0200| [5d6cf2cd54e6991c1be35ee2a6a7a7351c3688f5] | committer: David Fuhrmann
qtsound: Fix compilation with 10.13 SDK
(cherry picked from commit 194f2787e574ba7504be9a4970b9338777ba6953)
Signed-off-by: David Fuhrmann <dfuhrmann at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=5d6cf2cd54e6991c1be35ee2a6a7a7351c3688f5
---
modules/access/qtsound.m | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/modules/access/qtsound.m b/modules/access/qtsound.m
index ac9279931c..a5ebe55793 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