summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authormyfreeer <myfreeer@users.noreply.github.com>2018-01-24 09:28:22 +0800
committerKevin Mitchell <kevmitch@gmail.com>2018-01-25 20:57:45 -0800
commit573bfae7e46aea1ceb00400b5edbee762ed74254 (patch)
tree333105fad00b1caa63c923b09d7734e00a67850e /wscript_build.py
parente7febd6184e2fe0bb77968c90c3417e6188955e6 (diff)
downloadmpv-573bfae7e46aea1ceb00400b5edbee762ed74254.tar.bz2
mpv-573bfae7e46aea1ceb00400b5edbee762ed74254.tar.xz
hwdec: detach d3d and d3d9 hwaccel from angle
Fix https://github.com/mpv-player/mpv/issues/5420
Diffstat (limited to 'wscript_build.py')
-rw-r--r--wscript_build.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/wscript_build.py b/wscript_build.py
index d8180f2cc8..ce51455c48 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -420,10 +420,10 @@ def build(ctx):
( "video/out/opengl/cuda_dynamic.c", "cuda-hwaccel" ),
( "video/out/opengl/egl_helpers.c", "egl-helpers" ),
( "video/out/opengl/hwdec_cuda.c", "cuda-hwaccel" ),
- ( "video/out/opengl/hwdec_d3d11egl.c", "d3d-hwaccel" ),
- ( "video/out/opengl/hwdec_d3d11eglrgb.c","d3d-hwaccel" ),
+ ( "video/out/opengl/hwdec_d3d11egl.c", "d3d-hwaccel && egl-angle" ),
+ ( "video/out/opengl/hwdec_d3d11eglrgb.c","d3d-hwaccel && egl-angle" ),
( "video/out/opengl/hwdec_dxva2gldx.c", "gl-dxinterop-d3d9" ),
- ( "video/out/opengl/hwdec_dxva2egl.c", "d3d9-hwaccel" ),
+ ( "video/out/opengl/hwdec_dxva2egl.c", "d3d9-hwaccel && egl-angle" ),
( "video/out/opengl/hwdec_osx.c", "videotoolbox-gl" ),
( "video/out/opengl/hwdec_ios.m", "ios-gl" ),
( "video/out/opengl/hwdec_drmprime_drm.c","drmprime && drm" ),