mirror of https://github.com/mpv-player/mpv
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.
This commit is contained in:
parent
bd87598af9
commit
8a21cb1cd3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue