mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 03:59:43 +00:00
vaapi: require version >= 0.32.0.
This commit is contained in:
parent
f9c215e260
commit
dd950e2ebb
8
configure
vendored
8
configure
vendored
@ -2945,7 +2945,13 @@ check_func XOpenDisplay -lX11 &&
|
||||
check_func XShmCreateImage -lX11 -lXext &&
|
||||
check_func XFixesGetCursorImage -lX11 -lXext -lXfixes
|
||||
|
||||
disabled vaapi || check_lib va/va.h vaInitialize -lva || disable vaapi
|
||||
if ! disabled vaapi; then
|
||||
check_lib va/va.h vaInitialize -lva && {
|
||||
check_cpp_condition va/va_version.h "VA_CHECK_VERSION(0,32,0)" ||
|
||||
{ echolog "Please upgrade to VA-API >= 0.32 if you would like VA-API support." &&
|
||||
disable vaapi; }
|
||||
} || disable vaapi
|
||||
fi
|
||||
|
||||
if ! disabled vdpau && enabled vdpau_vdpau_h; then
|
||||
check_cpp_condition \
|
||||
|
Loading…
Reference in New Issue
Block a user