Skip to content
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

Merged
merged 1 commit into from
Nov 7, 2022

Conversation

avelad
Copy link
Member

@avelad avelad commented Nov 7, 2022

No description provided.

@avelad avelad added type: enhancement New feature or request priority: P2 Smaller impact or easy workaround labels Nov 7, 2022
@avelad avelad added this to the v4.3 milestone Nov 7, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Nov 7, 2022

Incremental code coverage: 100.00%

@@ -183,6 +184,9 @@ shaka.util.ManifestParserUtils.AUDIO_CODEC_REGEXPS_ = [
/^flac$/,
/^mp4a/,
/^[ae]c-3$/,
/^ac-4$/,
/^dts[cx]$/,
/^[du]dts$/,
Copy link
Contributor

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?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

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.

Copy link
Member

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.

Copy link
Member

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

@joeyparrish
Copy link
Member

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"?

@avelad avelad changed the title feat: Add more regexps to detect well-known audio and video codecs fix: Fix detection of ac4, dts, and dolby h265 Nov 7, 2022
@avelad avelad added type: bug Something isn't working correctly and removed type: enhancement New feature or request labels Nov 7, 2022
@avelad
Copy link
Member Author

avelad commented Nov 7, 2022

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!

@avelad avelad requested a review from theodab November 7, 2022 18:57
@avelad avelad merged commit 319a358 into shaka-project:main Nov 7, 2022
@avelad avelad deleted the codec_regexps branch November 7, 2022 19:56
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Jul 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority: P2 Smaller impact or easy workaround status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants