Unified · Split
| @@ -217,8 +217,14 @@ static void nvenc_map_preset(NvencContext *ctx) · 216 unmodified lines | ||
| 217 | 217 | |
| 218 | 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 | 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 | 228 | #elif NVENCAPI_CHECK_VERSION(11, 0) |
| 223 | 229 | # if defined(_WIN32) || defined(__CYGWIN__) |
| 224 | 230 | const char *minver = "456.71"; |