-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Fix detection of ac4, dts, and dolby h265 #4657
Conversation
Incremental code coverage: 100.00% |
lib/util/manifest_parser_utils.js
Outdated
@@ -183,6 +184,9 @@ shaka.util.ManifestParserUtils.AUDIO_CODEC_REGEXPS_ = [ | |||
/^flac$/, | |||
/^mp4a/, | |||
/^[ae]c-3$/, | |||
/^ac-4$/, | |||
/^dts[cx]$/, | |||
/^[du]dts$/, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, all of the others I know about, or can find info about online, but what are ddts
and udts
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But if you think it's not well-known, I'm willing to remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it needs to be removed, but perhaps a comment after the regex giving it a name would be helpful.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not 100% confident from my search results, but I'm guessing "dts" refers to "DTS Surround Sound" codecs: https://en.wikipedia.org/wiki/DTS_(company)#DTS_technologies
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
I'm in favor of classifying this as a backward-compatible "fix", since we're talking about content we can't detect and understand. How about calling this "fix: Fix detection of ac4, dts, and dolby h265"? |
Done! |
No description provided.