diff options
author | myfreeer <myfreeer@users.noreply.github.com> | 2018-01-24 09:28:22 +0800 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2018-01-25 20:57:45 -0800 |
commit | 573bfae7e46aea1ceb00400b5edbee762ed74254 (patch) | |
tree | 333105fad00b1caa63c923b09d7734e00a67850e /video/out/gpu/hwdec.c | |
parent | e7febd6184e2fe0bb77968c90c3417e6188955e6 (diff) | |
download | mpv-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 'video/out/gpu/hwdec.c')
-rw-r--r-- | video/out/gpu/hwdec.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/video/out/gpu/hwdec.c b/video/out/gpu/hwdec.c index 75d12b27f3..fc37074788 100644 --- a/video/out/gpu/hwdec.c +++ b/video/out/gpu/hwdec.c @@ -49,10 +49,12 @@ const struct ra_hwdec_driver *const ra_hwdec_drivers[] = { &ra_hwdec_videotoolbox, #endif #if HAVE_D3D_HWACCEL + #if HAVE_EGL_ANGLE &ra_hwdec_d3d11egl, &ra_hwdec_d3d11eglrgb, - #if HAVE_D3D9_HWACCEL + #if HAVE_D3D9_HWACCEL &ra_hwdec_dxva2egl, + #endif #endif #if HAVE_D3D11 &ra_hwdec_d3d11va, |