Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
648f5c93
Commit
648f5c93
authored
Sep 23, 2019
by
Timo Rothenpieler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/nvenc: add driver version info for SDK 9.1
Signed-off-by:
Timo Rothenpieler
<
timo@rothenpieler.org
>
parent
d889ae33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
nvenc.c
libavcodec/nvenc.c
+9
-1
No files found.
libavcodec/nvenc.c
View file @
648f5c93
...
@@ -122,7 +122,15 @@ static int nvenc_print_error(void *log_ctx, NVENCSTATUS err,
...
@@ -122,7 +122,15 @@ static int nvenc_print_error(void *log_ctx, NVENCSTATUS err,
static
void
nvenc_print_driver_requirement
(
AVCodecContext
*
avctx
,
int
level
)
static
void
nvenc_print_driver_requirement
(
AVCodecContext
*
avctx
,
int
level
)
{
{
#if NVENCAPI_CHECK_VERSION(9, 0)
#if NVENCAPI_CHECK_VERSION(9, 2)
const
char
*
minver
=
"(unknown)"
;
#elif NVENCAPI_CHECK_VERSION(9, 1)
# if defined(_WIN32) || defined(__CYGWIN__)
const
char
*
minver
=
"435.15"
;
# else
const
char
*
minver
=
"435.21"
;
# endif
#elif NVENCAPI_CHECK_VERSION(9, 0)
# if defined(_WIN32) || defined(__CYGWIN__)
# if defined(_WIN32) || defined(__CYGWIN__)
const
char
*
minver
=
"418.81"
;
const
char
*
minver
=
"418.81"
;
# else
# else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment