Skip to content

Commit 9864317

Browse files
committed
fix: Fix detection of ac4, dts, and dolby h265
1 parent 59d4360 commit 9864317

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/util/manifest_parser_utils.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ shaka.util.ManifestParserUtils.VIDEO_CODEC_REGEXPS_ = [
168168
/^hvc/,
169169
/^vp0?[89]/,
170170
/^av01/,
171+
/^dvhe/,
171172
];
172173

173174

@@ -183,6 +184,9 @@ shaka.util.ManifestParserUtils.AUDIO_CODEC_REGEXPS_ = [
183184
/^flac$/,
184185
/^mp4a/,
185186
/^[ae]c-3$/,
187+
/^ac-4$/,
188+
/^dts[cx]$/, // DTS Surround Sound
189+
/^[du]dts$/, // DTS Surround Sound
186190
];
187191

188192

0 commit comments

Comments
 (0)