vlc | branch: master | David Fuhrmann <[email protected]> | 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> +@interface AVCaptureDevice (AVCaptureDeviceAuthorizationSince10_14) + ++ (void)requestAccessForMediaType:(AVMediaType)mediaType completionHandler:(void (^)(BOOL granted))handler API_AVAILABLE(macos(10.14), ios(7.0)); + +@end + /***************************************************************************** * Local prototypes *****************************************************************************/ _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
