From 4ac6c244ccfaf69f1c0a15c6194cb22e3a4f4388 Mon Sep 17 00:00:00 2001 From: Andrew Childs Date: Sat, 8 Feb 2020 16:00:37 +0900 Subject: [PATCH] ffmpeg: fix vdpauSupport=false --- pkgs/development/libraries/ffmpeg/generic.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/ffmpeg/generic.nix b/pkgs/development/libraries/ffmpeg/generic.nix index 26a3206d205..bc423dbd7ca 100644 --- a/pkgs/development/libraries/ffmpeg/generic.nix +++ b/pkgs/development/libraries/ffmpeg/generic.nix @@ -136,7 +136,7 @@ stdenv.mkDerivation rec { (ifMinVer "2.1" "--enable-libssh") (ifMinVer "0.6" (enableFeature vaapiSupport "vaapi")) (ifMinVer "3.4" (enableFeature vaapiSupport "libdrm")) - "--enable-vdpau" + (enableFeature vdpauSupport "vdpau") "--enable-libvorbis" (ifMinVer "0.6" (enableFeature vpxSupport "libvpx")) (ifMinVer "2.4" "--enable-lzma") @@ -171,7 +171,7 @@ stdenv.mkDerivation rec { buildInputs = [ bzip2 fontconfig freetype gnutls libiconv lame libass libogg libssh libtheora - libvdpau libvorbis lzma soxr x264 x265 xvidcore zlib libopus speex nv-codec-headers + libvorbis lzma soxr x264 x265 xvidcore zlib libopus speex nv-codec-headers ] ++ optionals openglSupport [ libGL libGLU ] ++ optional libmfxSupport intel-media-sdk ++ optional vpxSupport libaom