Skip to content

Conversation

sparrc
Copy link
Contributor

@sparrc sparrc commented Mar 2, 2018

No description provided.


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
Copy link
Contributor Author

Choose a reason for hiding this comment

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

unrelated linting fix

@coveralls
Copy link

coveralls commented Mar 2, 2018

Coverage Status

Coverage decreased (-0.08%) to 80.245% when pulling cd2b164 on fix-uuid into 90d0544 on master.

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("")
Copy link
Contributor

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?

Copy link
Contributor

@philcluff philcluff Mar 2, 2018

Choose a reason for hiding this comment

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

AddNewContentProtectionRootThatDoesntMisformatUUIDs ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

AddNewContentProtectionRootFixedUUID?

@mbowBC
Copy link
Contributor

mbowBC commented Mar 2, 2018

Think one test for the old AddNewContentProtectionRoot needs to be left in.

@sparrc sparrc merged commit cd2b164 into master Mar 5, 2018
@sparrc sparrc deleted the fix-uuid branch March 5, 2018 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants