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
9840130e
Commit
9840130e
authored
Feb 21, 2013
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Simplify VDA header and extralibs check
parent
0a8da1a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
configure
configure
+2
-5
No files found.
configure
View file @
9840130e
...
...
@@ -1608,6 +1608,7 @@ zmbv_encoder_select="zlib"
# hardware accelerators
vaapi_deps
=
"va_va_h"
vda_deps
=
"VideoDecodeAcceleration_VDADecoder_h pthreads"
vda_extralibs
=
"-framework CoreFoundation -framework VideoDecodeAcceleration -framework QuartzCore"
vdpau_deps
=
"vdpau_vdpau_h vdpau_vdpau_x11_h"
h263_vaapi_hwaccel_select
=
"vaapi h263_decoder"
...
...
@@ -3434,6 +3435,7 @@ check_header sys/time.h
check_header unistd.h
check_header vdpau/vdpau.h
check_header vdpau/vdpau_x11.h
check_header VideoDecodeAcceleration/VDADecoder.h
check_header windows.h
check_header X11/extensions/XvMClib.h
...
...
@@ -3586,11 +3588,6 @@ require X11 X11/Xlib.h XOpenDisplay -lX11 &&
require Xext X11/extensions/XShm.h XShmCreateImage
-lXext
&&
require Xfixes X11/extensions/Xfixes.h XFixesGetCursorImage
-lXfixes
# check for VDA header
if
!
disabled vda
&&
check_header VideoDecodeAcceleration/VDADecoder.h
;
then
enable
vda
&&
add_extralibs
-framework
CoreFoundation
-framework
VideoDecodeAcceleration
-framework
QuartzCore
fi
if
!
disabled vdpau
&&
enabled vdpau_vdpau_h
;
then
check_cpp_condition vdpau/vdpau.h
"defined VDP_DECODER_PROFILE_MPEG4_PART2_ASP"
||
{
echolog
"Please upgrade to libvdpau >= 0.2 if you would like vdpau support."
&&
disable vdpau
;
}
...
...
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