[FFmpeg-cvslog] configure: Do not enable both OpenCL-VAAPI interop modes simultaneously

Mark Thompson git at videolan.org
Thu Mar 28 00:32:18 EET 2019


ffmpeg | branch: master | Mark Thompson <sw at jkqxz.net> | Tue Mar 26 23:39:19 2019 +0000| [d0b174d7df886023b2ce64d229d3af4777c01587] | committer: Mark Thompson

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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d0b174d7df886023b2ce64d229d3af4777c01587
---

 configure | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/configure b/configure
index 331393f8d5..c94f516224 100755
--- a/configure
+++ b/configure
@@ -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



More information about the ffmpeg-cvslog mailing list