From 26458419a79339a186028cb26d842f3b9fa9eb23 Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Wed, 19 Oct 2016 13:40:10 -0700 Subject: wscript: videotoolbox is available on iOS even though IOSurface is not --- wscript | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wscript b/wscript index b309e32cd3..ccdf3a9fdc 100644 --- a/wscript +++ b/wscript @@ -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', -- cgit v1.2.3