diff options
author | Timo Rothenpieler <timo@rothenpieler.org> | 2018-04-11 14:28:36 +0200 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2018-04-11 14:55:28 +0200 |
commit | 2108a6736f505d05f38932d57e8d9cfe8a7f7c81 (patch) | |
tree | 9b2c2024c9c21c160ca36cc180c960a58f7e2525 | |
parent | 86e9dba8fa5be26e10a096b675616b9ddb950031 (diff) | |
download | ffmpeg-streaming-2108a6736f505d05f38932d57e8d9cfe8a7f7c81.zip ffmpeg-streaming-2108a6736f505d05f38932d57e8d9cfe8a7f7c81.tar.gz |
avcodec/nvenc: update required driver versions for nvenc
-rw-r--r-- | libavcodec/nvenc.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index e2d1100..9d07c26 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -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); } |