summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-10-02 03:19:12 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-10-02 03:21:51 +0100
commit8a21cb1cd3ce1b92c05adcca597e1154d96621ee (patch)
tree004c5d28d75b4ce9e34d8ca2d15963728090ee19
parentbd87598af9c27315054814be4980806dd332f69c (diff)
downloadmpv-8a21cb1cd3ce1b92c05adcca597e1154d96621ee.tar.bz2
mpv-8a21cb1cd3ce1b92c05adcca597e1154d96621ee.tar.xz
vo: fix compilation failure when vaapi is enabled and x11 disabled
This was previously trying to use the video_output_vaapi symbol despite vo_vaapi.c being guarded by the vaapi-x11 option.
-rw-r--r--video/out/vo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo.c b/video/out/vo.c
index 71252e2883..5a691a6b9d 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -89,7 +89,7 @@ const struct vo_driver *const video_out_drivers[] =
#if HAVE_SDL2
&video_out_sdl,
#endif
-#if HAVE_VAAPI
+#if HAVE_VAAPI_X11
&video_out_vaapi,
#endif
#if HAVE_X11