mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 05:59:10 +00:00
Update libav dependency version check.
This commit is contained in:
parent
a0bfbe1f8d
commit
f8f510e50b
1 changed files with 2 additions and 3 deletions
|
@ -30,10 +30,9 @@ if not meson.is_subproject() and cc.get_id() == 'msvc'
|
|||
endif
|
||||
endif
|
||||
|
||||
# FIXME Remove that check once we have ffmpeg as a gst-libav subproject
|
||||
libav_opt = get_option('libav')
|
||||
libav_deps = [dependency('libavfilter', version: '>= 6.47.100', required: libav_opt)]
|
||||
if libav_deps[0].found()
|
||||
libav_deps = [dependency('libavfilter', version: '>= 7.16.100', fallback: ['FFmpeg', 'libavfilter_dep'])]
|
||||
if libav_deps[0].found() and libav_deps[0].type_name() != 'internal'
|
||||
cc = meson.get_compiler('c')
|
||||
check_ffmpeg_src = '''#include <libavcodec/avcodec.h>
|
||||
#if LIBAVCODEC_VERSION_MICRO >= 100
|
||||
|
|
Loading…
Reference in a new issue