1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-04 09:11:33 +02:00

configure: remove stray check

Since VLC 3.0.x, VA-API no longer forcefully depends on libavcodec, even
if it is not particularly useful without it.

In fact, if libva is present, libavcodec absent, and the build system
already gladly builds VA support minus the libavcodec plugin.
This commit is contained in:
Rémi Denis-Courmont 2022-10-04 19:14:43 +03:00 committed by Jean-Baptiste Kempf
parent 3aedff2e85
commit a429ed75e6

View File

@ -2468,10 +2468,6 @@ dnl
AC_ARG_ENABLE([libva],
AS_HELP_STRING([--enable-libva], [VAAPI GPU decoding support (libVA) (default auto)]))
AS_IF([test "${enable_libva}" = "yes" -a "${have_avcodec}" != "yes" ], [
AC_MSG_ERROR([--enable-libva and --disable-avcodec options are mutually exclusive. Use --enable-avcodec.])
])
have_vaapi="no"
have_vaapi_drm="no"
have_vaapi_x11="no"