summaryrefslogtreecommitdiffstats
path: root/video/out/opengl
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-05-11 14:37:03 +0200
committerwm4 <wm4@nowhere>2016-05-11 15:40:31 +0200
commitfd82e14888ae2fb1a7430e1166a048dc03321d49 (patch)
tree28ffc9b123bf4dbeb8218181d74d4963836fb0d5 /video/out/opengl
parentfde20d10bcacebf61aff42ab1f48ac72023a2aa5 (diff)
downloadmpv-fd82e14888ae2fb1a7430e1166a048dc03321d49.tar.bz2
mpv-fd82e14888ae2fb1a7430e1166a048dc03321d49.tar.xz
build: merge d3d11va and dxva2 hwaccel checks
We don't have any reason to disable either. Both are loaded dynamically at runtime anyway. There is also no reason why dxva2 would disappear from libavcodec any time soon.
Diffstat (limited to 'video/out/opengl')
-rw-r--r--video/out/opengl/hwdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/opengl/hwdec.c b/video/out/opengl/hwdec.c
index fee4a16059..1f654fc1ec 100644
--- a/video/out/opengl/hwdec.c
+++ b/video/out/opengl/hwdec.c
@@ -46,7 +46,7 @@ static const struct gl_hwdec_driver *const mpgl_hwdec_drivers[] = {
#if HAVE_VIDEOTOOLBOX_GL
&gl_hwdec_videotoolbox,
#endif
-#if HAVE_DXVA2_HWACCEL
+#if HAVE_D3D_HWACCEL
#if HAVE_EGL_ANGLE
&gl_hwdec_d3d11egl,
&gl_hwdec_dxva2egl,