summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2017-02-16 10:53:48 -0800
committerAman Gupta <aman@tmm1.net>2017-02-17 11:43:24 -0800
commit53fab20c6d5d13bc6baaa8321186ef6b3c8a8844 (patch)
tree043bf28bdd6c2a18971e4af5ee6129edda3099eb /wscript_build.py
parentf02752c0d591a3aea3f5ad5d98855a505f369510 (diff)
downloadmpv-53fab20c6d5d13bc6baaa8321186ef6b3c8a8844.tar.bz2
mpv-53fab20c6d5d13bc6baaa8321186ef6b3c8a8844.tar.xz
vo_opengl: implement videotoolbox hwdec on iOS
Implements --hwdec=videotoolbox on iOS. Similar to hwdec_osx.c, but using CVPixelBuffer APIs available on iOS instead of the equivalent IOSurface APIs in macOS.
Diffstat (limited to 'wscript_build.py')
-rw-r--r--wscript_build.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript_build.py b/wscript_build.py
index e357e95a43..8dd494275f 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -370,6 +370,7 @@ def build(ctx):
( "video/out/opengl/hwdec_dxva2gldx.c", "gl-dxinterop" ),
( "video/out/opengl/hwdec_dxva2egl.c", "egl-angle" ),
( "video/out/opengl/hwdec_osx.c", "videotoolbox-gl" ),
+ ( "video/out/opengl/hwdec_ios.m", "ios-gl" ),
( "video/out/opengl/hwdec_rpi.c", "rpi" ),
( "video/out/opengl/hwdec_vaegl.c", "vaapi-egl" ),
( "video/out/opengl/hwdec_vaglx.c", "vaapi-glx" ),