mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-27 01:42:20 +00:00
avcodec/nvenc: add minimum driver version for SDK 8.2 and 9.0
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
This commit is contained in:
parent
26cf50404d
commit
1144d5c96d
@ -122,7 +122,19 @@ static int nvenc_print_error(void *log_ctx, NVENCSTATUS err,
|
||||
|
||||
static void nvenc_print_driver_requirement(AVCodecContext *avctx, int level)
|
||||
{
|
||||
#if NVENCAPI_CHECK_VERSION(8, 1)
|
||||
#if NVENCAPI_CHECK_VERSION(9, 0)
|
||||
# if defined(_WIN32) || defined(__CYGWIN__)
|
||||
const char *minver = "418.81";
|
||||
# else
|
||||
const char *minver = "418.30";
|
||||
# endif
|
||||
#elif NVENCAPI_CHECK_VERSION(8, 2)
|
||||
# if defined(_WIN32) || defined(__CYGWIN__)
|
||||
const char *minver = "397.93";
|
||||
# else
|
||||
const char *minver = "396.24";
|
||||
#endif
|
||||
#elif NVENCAPI_CHECK_VERSION(8, 1)
|
||||
# if defined(_WIN32) || defined(__CYGWIN__)
|
||||
const char *minver = "390.77";
|
||||
# else
|
||||
|
Loading…
Reference in New Issue
Block a user