diff options
author | Scott Anderson <scott@anderso.nz> | 2018-06-26 20:14:08 +1200 |
---|---|---|
committer | Scott Anderson <scott@anderso.nz> | 2018-06-26 20:14:08 +1200 |
commit | 0e19b024c6c2273665bd751ce2ac15b806684641 (patch) | |
tree | b5b26fa1df37f63e60b972cf7a71bb321ff32483 | |
parent | 86942d8a6aca0a56f94e1138088133ccd64701f1 (diff) |
Add minimum version for ffmpeg 4.0 libraries
-rw-r--r-- | examples/meson.build | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/meson.build b/examples/meson.build index 5e5ec60a..d8df0bfc 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() |