From fda3c03bf180d65f76871c5bb3d81827ca243d6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Tue, 7 May 2019 00:08:09 +0100 Subject: [PATCH] Enable opencl (which is default) only exist --disable-opencl option Disable opencl on 10bit seems that is just prepared for 8bit. --- x264.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/x264.spec b/x264.spec index d599a44..577a049 100644 --- a/x264.spec +++ b/x264.spec @@ -31,7 +31,7 @@ Summary: H264/AVC video streams encoder Name: x264 Version: 0.%{api} -Release: 3%{?gver}%{?_with_bootstrap:_bootstrap}%{?dist} +Release: 4%{?gver}%{?_with_bootstrap:_bootstrap}%{?dist} License: GPLv2+ URL: https://www.videolan.org/developers/x264.html Source0: %{name}-0.%{api}-%{snapshot}.tar.bz2 @@ -89,7 +89,6 @@ This package contains the development files. %{?_without_libavformat:--disable-lavf} \\\ %{?_without_libswscale:--disable-swscale} \\\ %{!?_with_ffmpegsource:--disable-ffms} \\\ - --disable-opencl \\\ --enable-debug \\\ --enable-shared \\\ --system-libx264 \\\ @@ -127,6 +126,7 @@ pushd generic10 %{x_configure}\ %{?_without_asm:--disable-asm}\ --disable-cli\ + --disable-opencl \ --bit-depth=10 %{__make} %{?_smp_mflags} @@ -144,6 +144,7 @@ pushd simd10 %{x_configure}\ --disable-cli\ --libdir=%{slibdir}\ + --disable-opencl \ --bit-depth=10 %{__make} %{?_smp_mflags} @@ -208,6 +209,10 @@ install -pm644 generic/{AUTHORS,COPYING} %{buildroot}%{_pkgdocdir}/ %endif %changelog +* Mon May 06 2019 Sérgio Basto - 0.155-4.20180806git0a84d98 +- Enable opencl (which is default) only exist --disable-opencl option +- Disable opencl on 10bit seems that is just prepared for 8bit. + * Sun Apr 28 2019 Leigh Scott - 0.155-3.20180806git0a84d98 - Fix opencl dlopen (rfbz#5185)