configure.ac: no CUDA-accel FF convs with CUDA<9

Disable CUDA-accelerated FFmpeg conversions with CUDA 8 and earlier. At
least in Linux, it requires gcc-5, which is now hardly compatible. (The
actual compatibility was not tested thoroughly because CUDA 8 is
unsupported.)

see also the commit 4581c7f4
This commit is contained in:
Martin Pulec
2024-08-21 10:00:00 +02:00
parent 1502c100d9
commit 0bb082d020

View File

@@ -1831,7 +1831,8 @@ then
LIBAVCODEC_COMMON="src/libavcodec/lavc_common.o src/libavcodec/utils.o"
LIBAVCODEC_VIDEO="src/libavcodec/lavc_video.o src/libavcodec/from_lavc_vid_conv.o src/libavcodec/to_lavc_vid_conv.o"
if test "$lavc_cuda_conv_req" != no && test "$FOUND_CUDA" = yes &&
test "$system" != MacOSX; then
test "$system" != MacOSX && test "$nvcc_major" -ge 9
then
lavc_cuda=yes
fi
if test "$lavc_cuda" = yes && test "$system" = Windows &&