Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
e864a0dd
Commit
e864a0dd
authored
Mar 18, 2019
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib/ffmpeg/meson.build: detect libavfilter
parent
42a05bc9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
meson.build
src/lib/ffmpeg/meson.build
+10
-0
No files found.
src/lib/ffmpeg/meson.build
View file @
e864a0dd
...
...
@@ -4,6 +4,14 @@ libavutil_dep = dependency('libavutil', version: '>= 55.27', required: get_optio
enable_ffmpeg = libavformat_dep.found() and libavcodec_dep.found() and libavutil_dep.found()
conf.set('ENABLE_FFMPEG', enable_ffmpeg)
if enable_ffmpeg
libavfilter_dep = dependency('libavfilter', required: false)
else
libavfilter_dep = dependency('', required: false)
endif
conf.set('HAVE_LIBAVFILTER', libavfilter_dep.found())
if not enable_ffmpeg
ffmpeg_dep = dependency('', required: false)
subdir_done()
...
...
@@ -20,6 +28,7 @@ ffmpeg = static_library(
dependencies: [
libavformat_dep,
libavcodec_dep,
libavfilter_dep,
libavutil_dep,
],
)
...
...
@@ -29,6 +38,7 @@ ffmpeg_dep = declare_dependency(
dependencies: [
libavformat_dep,
libavcodec_dep,
libavfilter_dep,
libavutil_dep,
],
)
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