diff options
author | nanahi <130121847+na-na-hi@users.noreply.github.com> | 2024-03-01 21:21:32 -0500 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2024-03-03 16:43:02 +0100 |
commit | a81212836dc1211a41eb5e2f76de6fbe214c4f6d (patch) | |
tree | c09a428f5db4c2eac7124b4982a6f0c538514aba | |
parent | 1a649afbad266ae69f2097156fcf74c0f7fda8ac (diff) | |
download | mpv-a81212836dc1211a41eb5e2f76de6fbe214c4f6d.tar.bz2 mpv-a81212836dc1211a41eb5e2f76de6fbe214c4f6d.tar.xz |
ci/mingw: enable nvdec
Install the nv-codec-headers to enable nvdec for ffmpeg.
This allows the CI build to enable hwdec on opengl and vulkan contexts.
-rwxr-xr-x | ci/build-mingw64.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ci/build-mingw64.sh b/ci/build-mingw64.sh index 797c48358c..350aac535c 100755 --- a/ci/build-mingw64.sh +++ b/ci/build-mingw64.sh @@ -161,6 +161,14 @@ _spirv_cross () { } _spirv_cross_mark=lib/libspirv-cross-c-shared.dll.a +_nv_headers () { + [ -d nv-codec-headers ] || $gitclone https://github.com/FFmpeg/nv-codec-headers + pushd nv-codec-headers + makeplusinstall + popd +} +_nv_headers_mark=include/ffnvcodec/dynlink_loader.h + _vulkan_headers () { [ -d Vulkan-Headers ] || $gitclone https://github.com/KhronosGroup/Vulkan-Headers builddir Vulkan-Headers @@ -246,7 +254,7 @@ _luajit () { } _luajit_mark=lib/libluajit-5.1.a -for x in iconv zlib shaderc spirv-cross; do +for x in iconv zlib shaderc spirv-cross nv-headers; do build_if_missing $x done if [[ "$TARGET" != "i686-"* ]]; then |