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
97d80135
Commit
97d80135
authored
Sep 06, 2017
by
Clément Bœsch
Committed by
Clément Bœsch
Sep 08, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: add --disable-avfoundation autodetect switch
parent
b6dce64a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
configure
configure
+11
-5
No files found.
configure
View file @
97d80135
...
@@ -202,6 +202,7 @@ External library support:
...
@@ -202,6 +202,7 @@ External library support:
themselves, not all their features will necessarily be usable by FFmpeg.
themselves, not all their features will necessarily be usable by FFmpeg.
--disable-alsa disable ALSA support [autodetect]
--disable-alsa disable ALSA support [autodetect]
--disable-avfoundation disable Apple AVFoundation framework [autodetect]
--enable-avisynth enable reading of AviSynth script files [no]
--enable-avisynth enable reading of AviSynth script files [no]
--disable-bzlib disable bzlib [autodetect]
--disable-bzlib disable bzlib [autodetect]
--enable-chromaprint enable audio fingerprinting with chromaprint [no]
--enable-chromaprint enable audio fingerprinting with chromaprint [no]
...
@@ -1499,6 +1500,7 @@ EXAMPLE_LIST="
...
@@ -1499,6 +1500,7 @@ EXAMPLE_LIST="
EXTERNAL_AUTODETECT_LIBRARY_LIST
=
"
EXTERNAL_AUTODETECT_LIBRARY_LIST
=
"
alsa
alsa
avfoundation
bzlib
bzlib
iconv
iconv
jack
jack
...
@@ -3025,8 +3027,8 @@ xwma_demuxer_select="riffdec"
...
@@ -3025,8 +3027,8 @@ xwma_demuxer_select="riffdec"
# indevs / outdevs
# indevs / outdevs
alsa_indev_deps
=
"alsa"
alsa_indev_deps
=
"alsa"
alsa_outdev_deps
=
"alsa"
alsa_outdev_deps
=
"alsa"
avfoundation_indev_deps
=
"pthreads"
avfoundation_indev_deps
=
"
avfoundation
pthreads"
avfoundation_indev_extralibs
=
"-framework Foundation -framework
AVFoundation -framework
CoreVideo -framework CoreMedia"
avfoundation_indev_extralibs
=
"-framework Foundation -framework CoreVideo -framework CoreMedia"
bktr_indev_deps_any
=
"dev_bktr_ioctl_bt848_h machine_ioctl_bt848_h dev_video_bktr_ioctl_bt848_h dev_ic_bt8xx_h"
bktr_indev_deps_any
=
"dev_bktr_ioctl_bt848_h machine_ioctl_bt848_h dev_video_bktr_ioctl_bt848_h dev_ic_bt8xx_h"
caca_outdev_deps
=
"libcaca"
caca_outdev_deps
=
"libcaca"
decklink_indev_deps
=
"decklink threads"
decklink_indev_deps
=
"decklink threads"
...
@@ -5758,6 +5760,13 @@ check_lib psapi "windows.h psapi.h" GetProcessMemoryInfo -lpsapi
...
@@ -5758,6 +5760,13 @@ check_lib psapi "windows.h psapi.h" GetProcessMemoryInfo -lpsapi
check_lib coreservices
"CoreServices/CoreServices.h"
UTGetOSTypeFromString
"-framework CoreServices"
check_lib coreservices
"CoreServices/CoreServices.h"
UTGetOSTypeFromString
"-framework CoreServices"
enabled avfoundation
&&
check_apple_framework AVFoundation
enabled avfoundation
&&
{
check_lib avfoundation CoreGraphics/CoreGraphics.h CGGetActiveDisplayList
"-framework CoreGraphics"
||
check_lib avfoundation ApplicationServices/ApplicationServices.h CGGetActiveDisplayList
"-framework ApplicationServices"
;
}
check_struct
"sys/time.h sys/resource.h"
"struct rusage"
ru_maxrss
check_struct
"sys/time.h sys/resource.h"
"struct rusage"
ru_maxrss
check_type
"windows.h dxva.h"
"DXVA_PicParams_HEVC"
-DWINAPI_FAMILY
=
WINAPI_FAMILY_DESKTOP_APP
-D_CRT_BUILD_DESKTOP_APP
=
0
check_type
"windows.h dxva.h"
"DXVA_PicParams_HEVC"
-DWINAPI_FAMILY
=
WINAPI_FAMILY_DESKTOP_APP
-D_CRT_BUILD_DESKTOP_APP
=
0
...
@@ -5842,9 +5851,6 @@ for func in $COMPLEX_FUNCS; do
...
@@ -5842,9 +5851,6 @@ for func in $COMPLEX_FUNCS; do
done
done
# these are off by default, so fail if requested and not available
# these are off by default, so fail if requested and not available
enabled avfoundation_indev
&&
{
check_header_objcc AVFoundation/AVFoundation.h
||
disable avfoundation_indev
;
}
enabled avfoundation_indev
&&
{
check_lib avfoundation_indev CoreGraphics/CoreGraphics.h CGGetActiveDisplayList
-framework
CoreGraphics
||
check_lib avfoundation_indev ApplicationServices/ApplicationServices.h CGGetActiveDisplayList
-framework
ApplicationServices
;
}
enabled cuda_sdk
&&
require cuda_sdk cuda.h cuCtxCreate
-lcuda
enabled cuda_sdk
&&
require cuda_sdk cuda.h cuCtxCreate
-lcuda
enabled cuvid
&&
{
enabled cuda
||
enabled cuvid
&&
{
enabled cuda
||
die
"ERROR: CUVID requires CUDA"
;
}
die
"ERROR: CUVID requires CUDA"
;
}
...
...
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