[FFmpeg-devel] [PATCH v2 4/4] configure: fix check for opencl_vaapi_intel_media.

Jun Zhao mypopydev at gmail.com
Sun Jun 3 05:58:12 EEST 2018


opencl_vaapi_intel_media doesn't depend on libmfx, OpenCLâ„¢ Drivers
and Runtimes for Intel® Architectureis is a standalone release, more
information can be found in the link:
https://software.intel.com/en-us/articles/opencl-drivers.

Signed-off-by: Jun Zhao <mypopydev at gmail.com>
---
 configure | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/configure b/configure
index 69b8827..b8b879c 100755
--- a/configure
+++ b/configure
@@ -6326,10 +6326,8 @@ fi
 
 if enabled_all opencl vaapi ; then
     enabled opencl_drm_beignet && enable opencl_vaapi_beignet
-    if enabled libmfx ; then
-        check_type "CL/cl.h CL/va_ext.h" "clCreateFromVA_APIMediaSurfaceINTEL_fn" &&
-            enable opencl_vaapi_intel_media
-    fi
+    check_type "CL/cl.h CL/va_ext.h" "clCreateFromVA_APIMediaSurfaceINTEL_fn" &&
+        enable opencl_vaapi_intel_media
 fi
 
 if enabled_all opencl dxva2 ; then
-- 
2.7.4



More information about the ffmpeg-devel mailing list