From ba48e67ef8e16bfd88323dfe20e98f5635eadef3 Mon Sep 17 00:00:00 2001 From: Dominik 'Rathann' Mierzejewski Date: Sat, 16 Jul 2016 00:09:56 +0200 Subject: [PATCH] add conditional support for QSV via libmfx (rfbz#4043) --- ffmpeg.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ffmpeg.spec b/ffmpeg.spec index a17c518..113c73d 100644 --- a/ffmpeg.spec +++ b/ffmpeg.spec @@ -44,6 +44,7 @@ BuildRequires: libass-devel #libcrystalhd is currently broken %{?_with_crystalhd:BuildRequires: libcrystalhd-devel} BuildRequires: libdc1394-devel +%{?_with_mfx:BuildRequires: libmfx-devel} Buildrequires: libmodplug-devel %{?_with_rtmp:BuildRequires: librtmp-devel} BuildRequires: libtheora-devel @@ -144,6 +145,7 @@ This package contains development files for %{name} %{!?_without_jack:--enable-indev=jack} \\\ --enable-libfreetype \\\ --enable-libgsm \\\ + %{?_with_qsv:--enable-libmfx} \\\ --enable-libmp3lame \\\ %{?_with_nvenc:--enable-nvenc --enable-nonfree} \\\ %{!?_without_openal:--enable-openal} \\\ @@ -270,6 +272,7 @@ install -pm755 tools/qt-faststart $RPM_BUILD_ROOT%{_bindir} * Sun Jul 10 2016 Dominik Mierzejewski - 3.0.2-4 - enable jack by default (rfbz#2156) - re-enable opencl by default (rfbz#3640 was fixed) +- add conditional support for QSV via libmfx (rfbz#4043) * Thu Jul 07 2016 Julian Sikorski - 3.0.2-3 - Fixed build failure on rawhide due to newer opencv using a patch from upstream