]> granicus.if.org Git - handbrake/commitdiff
contrib: Disable vpx threading on mingw.
authorBradley Sepos <bradley@bradleysepos.com>
Tue, 5 Jul 2016 18:38:35 +0000 (14:38 -0400)
committerBradley Sepos <bradley@bradleysepos.com>
Tue, 5 Jul 2016 18:40:44 +0000 (14:40 -0400)
VP9 has problems with newer pthreads-win32. No easy way to disable threading for VP9 only.

contrib/libvpx/module.defs

index 761385795e203c6f097d0cc42b1c14b7fc6ab48c..2ec67b209becfb08d8c7686a738dba13a5eee2ed 100644 (file)
@@ -20,12 +20,12 @@ LIBVPX.CONFIGURE.extra =  \
 ifeq (1,$(BUILD.cross))
     LIBVPX.CONFIGURE.env.CROSS  = CROSS="$(BUILD.spec)-"
     LIBVPX.CONFIGURE.args.build =
-endif
-
-ifeq (1-i686,$(BUILD.cross)-$(BUILD.machine))
-    LIBVPX.CONFIGURE.extra += --target=x86-win32-gcc
-else ifeq (1-x86_64,$(BUILD.cross)-$(BUILD.machine))
-    LIBVPX.CONFIGURE.extra += --target=x86_64-win64-gcc
+    LIBVPX.CONFIGURE.extra += --disable-multithread
+    ifeq (i686,$(BUILD.machine))
+        LIBVPX.CONFIGURE.extra += --target=x86-win32-gcc
+    else ifeq (x86_64,$(BUILD.machine))
+        LIBVPX.CONFIGURE.extra += --target=x86_64-win64-gcc
+    endif
 endif
 
 ifeq (1,$(FEATURE.local_yasm))