aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/dump.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-10-27 15:22:00 -0300
committerJames Almer <jamrial@gmail.com>2024-11-13 12:38:04 -0300
commitedc7b675082e84b39cfaad61eb93d500f53a7db6 (patch)
treed962a184ddf1b493189ec9d2e083187e362b31ca /libavformat/dump.c
parent20af68b63a49e41b0b4233833230eff32778ad20 (diff)
downloadffmpeg-edc7b675082e84b39cfaad61eb93d500f53a7db6.tar.gz
avformat/iamf: use the new Binaural channel layout
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/dump.c')
-rw-r--r--libavformat/dump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/dump.c b/libavformat/dump.c
index 7dc7f0ad5a..b7125a652f 100644
--- a/libavformat/dump.c
+++ b/libavformat/dump.c
@@ -752,12 +752,12 @@ static void dump_stream_group(const AVFormatContext *ic, uint8_t *printed,
for (int k = 0; k < sub_mix->nb_layouts; k++) {
const AVIAMFSubmixLayout *submix_layout = sub_mix->layouts[k];
av_log(NULL, AV_LOG_INFO, " Layout #%d:", k);
- if (submix_layout->layout_type == 2) {
+ if (submix_layout->layout_type == 2 ||
+ submix_layout->layout_type == 3) {
ret = av_channel_layout_describe(&submix_layout->sound_system, buf, sizeof(buf));
if (ret >= 0)
av_log(NULL, AV_LOG_INFO, " %s", buf);
- } else if (submix_layout->layout_type == 3)
- av_log(NULL, AV_LOG_INFO, " Binaural");
+ }
av_log(NULL, AV_LOG_INFO, "\n");
}
}