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
3d6135ea
Commit
3d6135ea
authored
Dec 02, 2016
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Simplify OMX check
parent
601f8dde
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
configure
configure
+4
-5
No files found.
configure
View file @
3d6135ea
...
...
@@ -2190,6 +2190,7 @@ nvenc_deps_any="dlopen LoadLibrary"
nvenc_extralibs
=
'$ldl'
omx_deps
=
"dlopen pthreads"
omx_extralibs
=
'$ldl'
omx_rpi_select
=
"omx"
qsvdec_select
=
"qsv"
qsvenc_select
=
"qsv"
vaapi_encode_deps
=
"vaapi"
...
...
@@ -4688,12 +4689,10 @@ enabled mmal && { check_lib interface/mmal/mmal.h mmal_port_connect
check_lib 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 omx_rpi
&&
enable
omx
enabled omx
&&
{
check_header OMX_Core.h
||
{
!
enabled cross_compile
&&
enabled omx_rpi
&&
{
add_cflags
-isystem
/opt/vc/include/IL
;
}
check_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
;
}
||
die
"ERROR: OpenMAX IL headers not found"
;
}
enabled omx
&&
{
check_header OMX_Core.h
||
die
"ERROR: OpenMAX IL headers not found"
;
}
enabled openssl
&&
{
{
check_pkg_config openssl openssl/ssl.h OPENSSL_init_ssl
||
check_pkg_config openssl openssl/ssl.h SSL_library_init
;
}
&&
{
add_cflags
$openssl_cflags
&&
add_extralibs
$openssl_libs
;
}||
...
...
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