Unified · Split
| @@ -217,8 +217,14 @@ static void nvenc_map_preset(NvencContext *ctx) · 216 unmodified lines | |||
| 217 | 217 | ||
| 218 | static void nvenc_print_driver_requirement(AVCodecContext *avctx, int level) | 218 | static void nvenc_print_driver_requirement(AVCodecContext *avctx, int level) |
| 219 | { | 219 | { |
| 220 | #if NVENCAPI_CHECK_VERSION(11, 1) | 220 | #if NVENCAPI_CHECK_VERSION(11, 2) |
| 221 | const char *minver = "(unknown)"; | 221 | const char *minver = "(unknown)"; |
| 222 | #elif NVENCAPI_CHECK_VERSION(11, 1) | ||
| 223 | # if defined(_WIN32) || defined(__CYGWIN__) | ||
| 224 | const char *minver = "471.41"; | ||
| 225 | # else | ||
| 226 | const char *minver = "470.57.02"; | ||
| 227 | # endif | ||
| 222 | #elif NVENCAPI_CHECK_VERSION(11, 0) | 228 | #elif NVENCAPI_CHECK_VERSION(11, 0) |
| 223 | # if defined(_WIN32) || defined(__CYGWIN__) | 229 | # if defined(_WIN32) || defined(__CYGWIN__) |
| 224 | const char *minver = "456.71"; | 230 | const char *minver = "456.71"; |