summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
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_build.py
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_build.py')
-rw-r--r--wscript_build.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript_build.py b/wscript_build.py
index c05df1f964..dad54816eb 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -230,6 +230,7 @@ def build(ctx):
## Audio
( "audio/aframe.c" ),
( "audio/chmap.c" ),
+ ( "audio/chmap_avchannel.c", "av-channel-layout" ),
( "audio/chmap_sel.c" ),
( "audio/decode/ad_lavc.c" ),
( "audio/decode/ad_spdif.c" ),