[vlc-commits] avcapture: Fix compilation with 10.13 SDK

David Fuhrmann git at videolan.org
Sun Oct 21 18:24:04 CEST 2018


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sun Oct 21 18:19:53 2018 +0200| [fded66483be3cc108affbeef4e86f706950cfb3e] | committer: David Fuhrmann

avcapture: Fix compilation with 10.13 SDK

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fded66483be3cc108affbeef4e86f706950cfb3e
---

 modules/access/avcapture.m | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/modules/access/avcapture.m b/modules/access/avcapture.m
index f5fa8af1b0..ef220b387f 100644
--- a/modules/access/avcapture.m
+++ b/modules/access/avcapture.m
@@ -42,6 +42,12 @@
 #import <AVFoundation/AVFoundation.h>
 #import <CoreMedia/CoreMedia.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