diff options
author | Aman Gupta <aman@tmm1.net> | 2016-10-19 13:40:10 -0700 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-10-20 17:45:27 +0200 |
commit | 26458419a79339a186028cb26d842f3b9fa9eb23 (patch) | |
tree | 61cff0000776d5744beb2cfa011b42244c79f43c /wscript | |
parent | 4bd3e51fbe61ae83bc9f6674646962d24ea1e075 (diff) | |
download | mpv-26458419a79339a186028cb26d842f3b9fa9eb23.tar.bz2 mpv-26458419a79339a186028cb26d842f3b9fa9eb23.tar.xz |
wscript: videotoolbox is available on iOS even though IOSurface is not
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -660,7 +660,9 @@ video_output_features = [ 'desc': 'OpenGL Cocoa Backend', 'deps': [ 'cocoa' ], 'groups': [ 'gl' ], - 'func': check_true + 'func': check_statement('IOSurface/IOSurface.h', + 'IOSurfaceRef surface;', + framework='IOSurface') } , { 'name': '--gl-x11', 'desc': 'OpenGL X11 Backend', @@ -868,7 +870,6 @@ hwaccel_features = [ check_headers('VideoToolbox/VideoToolbox.h'), check_statement('libavcodec/videotoolbox.h', 'av_videotoolbox_alloc_context()', - framework='IOSurface', use='libav')), } , { 'name': '--videotoolbox-gl', |