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
3613063e
Commit
3613063e
authored
Sep 23, 2017
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Simplify nvenc check (and move it to the correct spot)
parent
8594ec3d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
configure
configure
+1
-5
No files found.
configure
View file @
3613063e
...
...
@@ -4747,6 +4747,7 @@ enabled mmal && { check_lib mmal interface/mmal/mmal.h mmal_port_co
check_lib mmal interface/mmal/mmal.h mmal_port_connect
-lmmal_core
-lmmal_util
-lmmal_vc_client
-lbcm_host
;
}
||
die
"ERROR: mmal not found"
&&
check_func_headers interface/mmal/mmal.h
"MMAL_PARAMETER_VIDEO_MAX_NUM_CALLBACKS"
;
}
enabled nvenc
&&
require_cpp_condition nvEncodeAPI.h
"NVENCAPI_MAJOR_VERSION >= 6"
enabled omx
&&
require_header OMX_Core.h
enabled omx_rpi
&&
{
check_header OMX_Core.h
||
{
!
enabled cross_compile
&&
add_cflags
-isystem
/opt/vc/include/IL
&&
check_header OMX_Core.h
;
}
||
...
...
@@ -4760,11 +4761,6 @@ enabled openssl && { { check_pkg_config openssl openssl openssl/ssl.h
enabled gnutls
&&
check_lib gmp gmp.h mpz_export
-lgmp
if
enabled nvenc
;
then
require_header nvEncodeAPI.h
require_cpp_condition nvEncodeAPI.h
"NVENCAPI_MAJOR_VERSION >= 6"
fi
# SDL adds some CFLAGS that should not be part of the general CFLAGS.
enabled avplay
&&
test_pkg_config sdl
"sdl >= 1.2.1 sdl < 1.3.0"
SDL_events.h SDL_PollEvent
...
...
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