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
1144d5c9
Commit
1144d5c9
authored
Mar 09, 2019
by
Timo Rothenpieler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/nvenc: add minimum driver version for SDK 8.2 and 9.0
Signed-off-by:
Timo Rothenpieler
<
timo@rothenpieler.org
>
parent
26cf5040
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
nvenc.c
libavcodec/nvenc.c
+13
-1
No files found.
libavcodec/nvenc.c
View file @
1144d5c9
...
...
@@ -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
...
...
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