ffmpeg | branch: master | Timo Rothenpieler <[email protected]> | Sun Aug  
8 02:00:38 2021 +0200| [ac0408522aa68444be28e4e691bfa61ab963c617] | committer: 
Timo Rothenpieler

avcodec/nvenc: make aware of SDK 11.1 driver requirements

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

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

diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index 32bcd4b318..df8e472e73 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -217,8 +217,14 @@ static void nvenc_map_preset(NvencContext *ctx)
 
 static void nvenc_print_driver_requirement(AVCodecContext *avctx, int level)
 {
-#if NVENCAPI_CHECK_VERSION(11, 1)
+#if NVENCAPI_CHECK_VERSION(11, 2)
     const char *minver = "(unknown)";
+#elif NVENCAPI_CHECK_VERSION(11, 1)
+# if defined(_WIN32) || defined(__CYGWIN__)
+    const char *minver = "471.41";
+# else
+    const char *minver = "470.57.02";
+# endif
 #elif NVENCAPI_CHECK_VERSION(11, 0)
 # if defined(_WIN32) || defined(__CYGWIN__)
     const char *minver = "456.71";

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to