vlc/vlc-3.0 | branch: master | David Fuhrmann <[email protected]> | Sun 
Oct 21 18:19:53 2018 +0200| [0aa7083930e0c6040253c1018ba7f1a5d80491cf] | 
committer: David Fuhrmann

avcapture: Fix compilation with 10.13 SDK

(cherry picked from commit fded66483be3cc108affbeef4e86f706950cfb3e)
Signed-off-by: David Fuhrmann <[email protected]>

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

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

diff --git a/modules/access/avcapture.m b/modules/access/avcapture.m
index c46ca6d69c..b4fee4277d 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

Reply via email to