From 8a21cb1cd3ce1b92c05adcca597e1154d96621ee Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Fri, 2 Oct 2015 03:19:12 +0100 Subject: 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. --- video/out/vo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video') 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 -- cgit v1.2.3