mkvextract: fix channelConfiguration for 7.1 AAC

This commit is contained in:
Tom Yan 2020-12-31 18:10:29 +08:00 committed by Moritz Bunkus
parent 868f5003a6
commit 6cc7b55f16
No known key found for this signature in database
GPG Key ID: 74AF00ADF2E32C85

View File

@ -51,7 +51,7 @@ xtr_aac_c::create_file(xtr_base_c *master,
mxerror(fmt::format(Y("Track {0} with the CodecID '{1}' contains invalid \"codec private\" data for AAC.\n"), m_tid, m_codec_id)); mxerror(fmt::format(Y("Track {0} with the CodecID '{1}' contains invalid \"codec private\" data for AAC.\n"), m_tid, m_codec_id));
m_id = 0; m_id = 0;
m_channels = audio_config->channels; m_channels = audio_config->channels == 8 ? 7 : audio_config->channels;
m_profile = audio_config->profile; m_profile = audio_config->profile;
if (audio_config->ga_specific_config_contains_program_config_element) { if (audio_config->ga_specific_config_contains_program_config_element) {