mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 21:20:41 +00:00
configure: Do not enable both OpenCL-VAAPI interop modes simultaneously
Beignet offers a far more flexiable and complete interface, so choose it by default if available.
This commit is contained in:
parent
6bc800dead
commit
d0b174d7df
9
configure
vendored
9
configure
vendored
@ -6471,9 +6471,12 @@ if enabled_all opencl libdrm ; then
|
||||
fi
|
||||
|
||||
if enabled_all opencl vaapi ; then
|
||||
enabled opencl_drm_beignet && enable opencl_vaapi_beignet
|
||||
check_type "CL/cl.h CL/cl_va_api_media_sharing_intel.h" "clCreateFromVA_APIMediaSurfaceINTEL_fn" &&
|
||||
enable opencl_vaapi_intel_media
|
||||
if enabled opencl_drm_beignet ; then
|
||||
enable opencl_vaapi_beignet
|
||||
else
|
||||
check_type "CL/cl.h CL/cl_va_api_media_sharing_intel.h" "clCreateFromVA_APIMediaSurfaceINTEL_fn" &&
|
||||
enable opencl_vaapi_intel_media
|
||||
fi
|
||||
fi
|
||||
|
||||
if enabled_all opencl dxva2 ; then
|
||||
|
Loading…
Reference in New Issue
Block a user