Skip to content

Commit

Permalink
fix(UI): Fix name for Dolby Digital Plus (#7541)
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad committed Nov 12, 2024
1 parent ced97be commit 8701876
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/language_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,10 @@ shaka.ui.LanguageUtils = class {
audioCodec = audioCodec.toLowerCase();
if (audioCodec.startsWith('mp4a')) {
name = 'AAC';
} else if (audioCodec === 'ec-3' || audioCodec === 'ac-3') {
} else if (audioCodec === 'ac-3') {
name = 'Dolby';
} else if (audioCodec === 'ec-3') {
name = 'DD+';
} else if (audioCodec === 'opus') {
name = 'Opus';
} else if (audioCodec === 'flac') {
Expand Down

0 comments on commit 8701876

Please sign in to comment.