[Ffmpeg-devel] PATCH: x264 and pthreads

Joshua Boyd jdboyd
Sat Aug 5 20:46:30 CEST 2006


I've attached a patch to configure to catch the x264->pthreads
dependency.  I've only tested it on Ubuntu though.  I still don't know
for certain that x264 always requires pthreads.  If not, then perhaps
someone can come up with a better fix.

-- 
Joshua D. Boyd
jdboyd at jdboyd.net
http://www.jdboyd.net/
http://www.joshuaboyd.org/


--- configure.orig      2006-08-05 14:56:14.000000000 -0400
+++ configure   2006-08-05 14:58:27.000000000 -0400
@@ -969,6 +969,14 @@
     fi
 fi
 
+if test "$x264" = "yes" ; then
+    if test "$pthreads" = "no"; then
+        echo "pthreads must be enabled to enable x264."
+        fail="yes"
+        x264="no"
+    fi
+fi
+
 # compute MMX state
 if test $mmx = "default"; then
     if test $cpu = "x86" -o $cpu = "x86_64"; then




More information about the ffmpeg-devel mailing list