From 0e19b024c6c2273665bd751ce2ac15b806684641 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Tue, 26 Jun 2018 20:14:08 +1200 Subject: [PATCH] Add minimum version for ffmpeg 4.0 libraries --- examples/meson.build | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/meson.build b/examples/meson.build index 5e5ec60a8..d8df0bfc9 100644 --- a/examples/meson.build +++ b/examples/meson.build @@ -1,9 +1,10 @@ threads = dependency('threads') wayland_cursor = dependency('wayland-cursor') -libavutil = dependency('libavutil', required: false) -libavcodec = dependency('libavcodec', required: false) -libavformat = dependency('libavformat', required: false) +# These versions correspond to ffmpeg 4.0 +libavutil = dependency('libavutil', version: '>=56.14.100', required: false) +libavcodec = dependency('libavcodec', version: '>=58.18.100', required: false) +libavformat = dependency('libavformat', version: '>=58.12.100', required: false) if not cc.has_header('libavutil/hwcontext_drm.h', dependencies: libavutil) libavutil = disabler()