summaryrefslogtreecommitdiffstats
path: root/video/out/gl_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_common.c')
-rw-r--r--video/out/gl_common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/video/out/gl_common.c b/video/out/gl_common.c
index e868b07559..20674de317 100644
--- a/video/out/gl_common.c
+++ b/video/out/gl_common.c
@@ -1038,12 +1038,16 @@ void mp_log_source(struct mp_log *log, int lev, const char *src)
}
extern const struct gl_hwdec_driver gl_hwdec_vaglx;
+extern const struct gl_hwdec_driver gl_hwdec_vda;
extern const struct gl_hwdec_driver gl_hwdec_vdpau;
const struct gl_hwdec_driver *mpgl_hwdec_drivers[] = {
#if HAVE_VAAPI_GLX
&gl_hwdec_vaglx,
#endif
+#if HAVE_VDA_GL
+ &gl_hwdec_vda,
+#endif
#if HAVE_VDPAU_GL_X11
&gl_hwdec_vdpau,
#endif