[FFmpeg-cvslog] avcodec/nvenc: update driver versions for SDK 11.0

Timo Rothenpieler git at videolan.org
Sun Oct 18 00:14:34 EEST 2020


ffmpeg | branch: master | Timo Rothenpieler <timo at rothenpieler.org> | Sat Oct 17 23:10:42 2020 +0200| [62073cfa97d1b7f964b74130ddc92de8f9087d1f] | committer: Timo Rothenpieler

avcodec/nvenc: update driver versions for SDK 11.0

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=62073cfa97d1b7f964b74130ddc92de8f9087d1f
---

 libavcodec/nvenc.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index 887e11b1e2..1aae6c00e5 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -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";



More information about the ffmpeg-cvslog mailing list