summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-06-30 12:27:15 +0200
committerwm4 <wm4@nowhere>2017-06-30 18:57:37 +0200
commitdd408e68ed57fa5130bef976751e58a5d6e42f75 (patch)
tree7b47f293f3a07b318289ac277bcba6c588f0e586 /options/options.c
parentc61520b6bd51d2ab8ba1fa14d89170844ebd159b (diff)
downloadmpv-dd408e68ed57fa5130bef976751e58a5d6e42f75.tar.bz2
mpv-dd408e68ed57fa5130bef976751e58a5d6e42f75.tar.xz
d3d: make DXVA2 support optional
This partially reverts the change from a longer time ago to always build DXVA2 and D3D11VA together. To make it simpler, we change the following: - building with ANGLE headers is now required to build D3D hwaccels - if DXVA2 is enabled, D3D11VA is still forcibly built - the CLI vo_opengl ANGLE backend is now under --egl-angle-win32 This is done to reduce the dependency mess slightly.
Diffstat (limited to 'options/options.c')
-rw-r--r--options/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/options.c b/options/options.c
index 02dc5e94dd..db63efa9d2 100644
--- a/options/options.c
+++ b/options/options.c
@@ -699,7 +699,7 @@ const m_option_t mp_opts[] = {
OPT_SUBSTRUCT("", gl_video_opts, gl_video_conf, 0),
#endif
-#if HAVE_EGL_ANGLE
+#if HAVE_EGL_ANGLE_WIN32
OPT_SUBSTRUCT("", angle_opts, angle_conf, 0),
#endif