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

Add dolbyvision support. #133

Merged
merged 1 commit into from
Oct 3, 2019

Conversation

// dolby-vision-bitstreams-in-mpeg-2-transport-stream-multiplex-v1.2, Section 3.1
func (descriptor *pmtDescriptor) IsDolbyVision() bool {
if descriptor.tag == REGISTRATION {
if len(descriptor.data) >= 4 {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Minor, strict: From dolby-vision-bitstreams-in-mpeg-2-transport-stream-multiplex-v1.2.pdf, should this be if len(descriptor.data) == 8 { ?

Copy link
Collaborator Author

@LimitlessEarth LimitlessEarth Oct 3, 2019

Choose a reason for hiding this comment

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

descriptor_tag and descriptor_length are not included in data. so data should only be 32bits long.

Copy link
Collaborator

@ieckart ieckart left a comment

Choose a reason for hiding this comment

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

Well done, thank you for adding this!

@LimitlessEarth LimitlessEarth merged commit b890e2a into Comcast:master Oct 3, 2019
@LimitlessEarth LimitlessEarth deleted the feat/dolbyvision branch October 3, 2019 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants