]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/nvenc: update driver versions for SDK 11.0
authorTimo Rothenpieler <timo@rothenpieler.org>
Sat, 17 Oct 2020 21:10:42 +0000 (23:10 +0200)
committerTimo Rothenpieler <timo@rothenpieler.org>
Sat, 17 Oct 2020 21:10:42 +0000 (23:10 +0200)
libavcodec/nvenc.c

index 887e11b1e27cd56d0c86a39e72303c57b8abf2d5..1aae6c00e5e723f10db6830f42726e2d31434491 100644 (file)
@@ -152,8 +152,14 @@ static int nvenc_print_error(AVCodecContext *avctx, NVENCSTATUS err,
 
 static void nvenc_print_driver_requirement(AVCodecContext *avctx, int level)
 {
-#if NVENCAPI_CHECK_VERSION(10, 1)
+#if NVENCAPI_CHECK_VERSION(11, 1)
     const char *minver = "(unknown)";
+#elif NVENCAPI_CHECK_VERSION(11, 0)
+# if defined(_WIN32) || defined(__CYGWIN__)
+    const char *minver = "456.71";
+# else
+    const char *minver = "455.28";
+# endif
 #elif NVENCAPI_CHECK_VERSION(10, 0)
 # if defined(_WIN32) || defined(__CYGWIN__)
     const char *minver = "450.51";