Commit 2108a673 authored by Timo Rothenpieler's avatar Timo Rothenpieler

avcodec/nvenc: update required driver versions for nvenc

parent 86e9dba8
...@@ -119,10 +119,18 @@ static int nvenc_print_error(void *log_ctx, NVENCSTATUS err, ...@@ -119,10 +119,18 @@ static int nvenc_print_error(void *log_ctx, NVENCSTATUS err,
static void nvenc_print_driver_requirement(AVCodecContext *avctx, int level) static void nvenc_print_driver_requirement(AVCodecContext *avctx, int level)
{ {
#if defined(_WIN32) || defined(__CYGWIN__) #if NVENCAPI_VERSION >= 0x01000008
const char *minver = "378.66"; # if defined(_WIN32) || defined(__CYGWIN__)
const char *minver = "390.77";
# else
const char *minver = "390.25";
# endif
#else #else
# if defined(_WIN32) || defined(__CYGWIN__)
const char *minver = "378.66";
# else
const char *minver = "378.13"; const char *minver = "378.13";
# endif
#endif #endif
av_log(avctx, level, "The minimum required Nvidia driver for nvenc is %s or newer\n", minver); av_log(avctx, level, "The minimum required Nvidia driver for nvenc is %s or newer\n", minver);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment