From 1d15a5a059064216d97775181506b7f8432eb30d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Ekstr=C3=B6m?= Date: Wed, 1 Jun 2022 23:50:49 +0300 Subject: 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. --- wscript | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index c7685b0879..63069a2248 100644 --- a/wscript +++ b/wscript @@ -411,6 +411,10 @@ libav_dependencies = [ 'req': True, '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', -- cgit v1.2.3