ci: Enable CUVID for 4.0+

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2021-05-22 02:37:50 +02:00
parent 32330c349c
commit a48b1e39f6
+1 -1
View File
@@ -102,7 +102,7 @@ jobs:
popd > /dev/null
if (( "${{ steps.data.outputs.version_major }}" >= 4 )); then
echo "::set-output name=flags::--enable-ffnvcodec --enable-nvdec --enable-nvenc"
echo "::set-output name=flags::--enable-ffnvcodec --enable-nvdec --enable-cuvid --enable-nvenc"
elif (( "${{ steps.data.outputs.version_major }}" >= 3 )); then
if (( "${{ steps.data.outputs.version_minor }}" >= 2 )); then
# 3.2+ has cuda, cuvid, nvenc