Skip to content

Commit

Permalink
fix: Fix detection of ac4, dts, and dolby h265 (shaka-project#4657)
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad authored Nov 7, 2022
1 parent 08fc7dd commit 319a358
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/util/manifest_parser_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ shaka.util.ManifestParserUtils.VIDEO_CODEC_REGEXPS_ = [
/^hvc/,
/^vp0?[89]/,
/^av01/,
/^dvhe/,
];


Expand All @@ -183,6 +184,9 @@ shaka.util.ManifestParserUtils.AUDIO_CODEC_REGEXPS_ = [
/^flac$/,
/^mp4a/,
/^[ae]c-3$/,
/^ac-4$/,
/^dts[cx]$/, // DTS Surround Sound
/^[du]dts$/, // DTS Surround Sound
];


Expand Down

0 comments on commit 319a358

Please sign in to comment.