Unified · Split
| @@ -242,8 +242,20 @@ static void nvenc_map_preset(NvencContext *ctx) · 241 unmodified lines | |||
| 242 | 242 | ||
| 243 | static void nvenc_print_driver_requirement(AVCodecContext *avctx, int level) | 243 | static void nvenc_print_driver_requirement(AVCodecContext *avctx, int level) |
| 244 | { | 244 | { |
| 245 | #if NVENCAPI_CHECK_VERSION(12, 1) | 245 | #if NVENCAPI_CHECK_VERSION(12, 3) |
| 246 | const char *minver = "(unknown)"; | 246 | const char *minver = "(unknown)"; |
| 247 | #elif NVENCAPI_CHECK_VERSION(12, 2) | ||
| 248 | # if defined(_WIN32) || defined(__CYGWIN__) | ||
| 249 | const char *minver = "551.76"; | ||
| 250 | # else | ||
| 251 | const char *minver = "550.54.14"; | ||
| 252 | # endif | ||
| 253 | #elif NVENCAPI_CHECK_VERSION(12, 1) | ||
| 254 | # if defined(_WIN32) || defined(__CYGWIN__) | ||
| 255 | const char *minver = "531.61"; | ||
| 256 | # else | ||
| 257 | const char *minver = "530.41.03"; | ||
| 258 | # endif | ||
| 247 | #elif NVENCAPI_CHECK_VERSION(12, 0) | 259 | #elif NVENCAPI_CHECK_VERSION(12, 0) |
| 248 | # if defined(_WIN32) || defined(__CYGWIN__) | 260 | # if defined(_WIN32) || defined(__CYGWIN__) |
| 249 | const char *minver = "522.25"; | 261 | const char *minver = "522.25"; |