-
Notifications
You must be signed in to change notification settings - Fork 68
Fix UUID splitting #45
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
Conversation
|
||
func (d Duration) MarshalXMLAttr(name xml.Name) (xml.Attr, error) { | ||
return xml.Attr{name, d.String()}, nil | ||
return xml.Attr{Name: name, Value: d.String()}, nil |
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.
unrelated linting fix
mpd/mpd_test.go
Outdated
s, _ := m.AddNewAdaptationSetVideo("7357", DASH_MIME_TYPE_VIDEO_MP4, VALID_SCAN_TYPE, VALID_SEGMENT_ALIGNMENT, VALID_START_WITH_SAP) | ||
|
||
cp, err := s.AddNewContentProtectionRoot("") | ||
cp, err := s.AddNewContentProtectionRoot2("") |
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.
Can we come up with a more descriptive name please?
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.
AddNewContentProtectionRootThatDoesntMisformatUUIDs ?
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.
AddNewContentProtectionRootFixedUUID
?
Think one test for the old AddNewContentProtectionRoot needs to be left in. |
No description provided.