[FFmpeg-cvslog] Enable opencl wihtout pthreads.

Matt Oliver git at videolan.org
Fri May 2 06:12:14 CEST 2014


ffmpeg | branch: master | Matt Oliver <protogonoi at gmail.com> | Fri May  2 12:49:23 2014 +1000| [1ccd1a3860b1d9a378350592ce459da45f78b634] | committer: Michael Niedermayer

Enable opencl wihtout pthreads.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 configure |    2 --
 1 file changed, 2 deletions(-)

diff --git a/configure b/configure
index 261fedb..dd7ac79 100755
--- a/configure
+++ b/configure
@@ -4682,8 +4682,6 @@ enabled openal            && { { for al_libs in "${OPENAL_LIBS}" "-lopenal" "-lO
 enabled opencl            && { check_lib2 OpenCL/cl.h clEnqueueNDRangeKernel -Wl,-framework,OpenCL ||
                                check_lib2 CL/cl.h clEnqueueNDRangeKernel -lOpenCL ||
                                die "ERROR: opencl not found"; } &&
-                             { ! enabled_any w32threads os2threads ||
-                               die "opencl currently needs --enable-pthreads or --disable-w32threads"; } &&
                              { check_cpp_condition "OpenCL/cl.h" "defined(CL_VERSION_1_2)" ||
                                check_cpp_condition "CL/cl.h" "defined(CL_VERSION_1_2)" ||
                                die "ERROR: opencl must be installed and version must be 1.2 or compatible"; }



More information about the ffmpeg-cvslog mailing list