aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/channel_layout.c
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2024-05-25 03:33:22 +0200
committerLynne <dev@lynne.ee>2024-06-02 18:34:38 +0200
commitcaeb27509245e87dd0dc6a0677fdeedab3406a97 (patch)
tree2eda4b7a0e5fe32fdffe8e95587ec3e8f7e79849 /libavutil/channel_layout.c
parent6c6bec04f3fc57674cb0dfca27ce415990a3f3e1 (diff)
downloadffmpeg-caeb27509245e87dd0dc6a0677fdeedab3406a97.tar.gz
channel_layout: add new channel positions supported by xHE-AAC
apichanges will be updated upon merging, as well as a version bump.
Diffstat (limited to 'libavutil/channel_layout.c')
-rw-r--r--libavutil/channel_layout.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/channel_layout.c b/libavutil/channel_layout.c
index 98839b7250..2d6963b6df 100644
--- a/libavutil/channel_layout.c
+++ b/libavutil/channel_layout.c
@@ -75,6 +75,10 @@ static const struct channel_name channel_names[] = {
[AV_CHAN_BOTTOM_FRONT_CENTER ] = { "BFC", "bottom front center" },
[AV_CHAN_BOTTOM_FRONT_LEFT ] = { "BFL", "bottom front left" },
[AV_CHAN_BOTTOM_FRONT_RIGHT ] = { "BFR", "bottom front right" },
+ [AV_CHAN_SIDE_SURROUND_LEFT ] = { "SSL", "side surround left" },
+ [AV_CHAN_SIDE_SURROUND_RIGHT ] = { "SSR", "side surround right" },
+ [AV_CHAN_TOP_SURROUND_LEFT ] = { "TTL", "top surround left" },
+ [AV_CHAN_TOP_SURROUND_RIGHT ] = { "TTR", "top surround right" },
};
void av_channel_name_bprint(AVBPrint *bp, enum AVChannel channel_id)