mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
Fix check for VA-API enabled FFmpeg.
This commit is contained in:
parent
cc28cdbd60
commit
86afcbb024
1 changed files with 2 additions and 1 deletions
|
@ -258,7 +258,8 @@ AC_CHECK_HEADERS([libavformat/avformat.h])
|
|||
|
||||
PKG_CHECK_MODULES(LIBAVCODEC, [libavcodec])
|
||||
AC_CHECK_HEADERS([libavcodec/avcodec.h])
|
||||
AC_CHECK_HEADERS([libavcodec/vaapi.h])
|
||||
AC_CHECK_HEADERS([libavcodec/vaapi.h], [],
|
||||
AC_MSG_ERROR([The system FFmpeg headers do not support VA-API]))
|
||||
|
||||
AC_DEFINE_UNQUOTED(USE_GLX, $USE_GLX,
|
||||
[Defined to 1 if GLX is enabled])
|
||||
|
|
Loading…
Reference in a new issue