From 0bb082d020e145e3a2128a807dbdf7dae39ccc55 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Wed, 21 Aug 2024 10:00:00 +0200 Subject: [PATCH] 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 --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 6ab7c305a..cad88de46 100644 --- a/configure.ac +++ b/configure.ac @@ -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 &&