You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/nvenc: update required driver versions for nvenc
This commit is contained in:
@@ -119,10 +119,18 @@ static int nvenc_print_error(void *log_ctx, NVENCSTATUS err,
|
||||
|
||||
static void nvenc_print_driver_requirement(AVCodecContext *avctx, int level)
|
||||
{
|
||||
#if defined(_WIN32) || defined(__CYGWIN__)
|
||||
const char *minver = "378.66";
|
||||
#if NVENCAPI_VERSION >= 0x01000008
|
||||
# if defined(_WIN32) || defined(__CYGWIN__)
|
||||
const char *minver = "390.77";
|
||||
# else
|
||||
const char *minver = "390.25";
|
||||
# endif
|
||||
#else
|
||||
# if defined(_WIN32) || defined(__CYGWIN__)
|
||||
const char *minver = "378.66";
|
||||
# else
|
||||
const char *minver = "378.13";
|
||||
# endif
|
||||
#endif
|
||||
av_log(avctx, level, "The minimum required Nvidia driver for nvenc is %s or newer\n", minver);
|
||||
}
|
||||
|
Reference in New Issue
Block a user