History

avcodec/nvenc: make aware of SDK 11.1 driver requirements

Timo Rothenpieler committed 5 years ago

Commit ac040851 parent e56f6e51 file · +7 −1Browse files

Unified · Split

libavcodec/nvenc.c+7−1
@@ -217,8 +217,14 @@ static void nvenc_map_preset(NvencContext *ctx) · 216 unmodified lines
217 217
218static void nvenc_print_driver_requirement(AVCodecContext *avctx, int level)218static 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";

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t