summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2022-06-01 23:50:49 +0300
committerJan Ekström <jeebjp@gmail.com>2022-06-12 21:05:59 +0300
commit1d15a5a059064216d97775181506b7f8432eb30d (patch)
tree800e351de568b30d14279489e5f5bb3609a94c5d /wscript
parent602995fd40f03440f5fa64113b6188cb46ffcc9c (diff)
downloadmpv-1d15a5a059064216d97775181506b7f8432eb30d.tar.bz2
mpv-1d15a5a059064216d97775181506b7f8432eb30d.tar.xz
audio: add AVChannelLayout helpers to convert from/to mp_chmap
This is the new FFmpeg channel layout structure, which now combines channel count and layout into a single location. Only unspecified (channel count only) and native (channel layout mask based) layouts are currently supported for the initial move towards non-deprecated APIs.
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/wscript b/wscript
index c7685b0879..63069a2248 100644
--- a/wscript
+++ b/wscript
@@ -412,6 +412,10 @@ libav_dependencies = [
'fmsg': "Unable to find development files for some of the required \
FFmpeg libraries. Git master is recommended."
}, {
+ 'name': 'av-channel-layout',
+ 'desc': 'FFmpeg AVChannelLayout API',
+ 'func': check_pkg_config('libavutil', '>= 57.24.100'),
+ }, {
'name': '--libavdevice',
'desc': 'libavdevice',
'func': check_pkg_config('libavdevice', '>= 57.0.0'),