Skip to content

Commit

Permalink
fix: moved RepresentationBaseType earlier in AdaptationSet and Repres…
Browse files Browse the repository at this point in the history
…entation
  • Loading branch information
tobbee committed Jan 4, 2024
1 parent 05a4cbb commit 87a2b9d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- GetContentProtections, GetMimeType, GetCodecs, and GetSegmentTemplate methods for AdaptationSet and Representation
- ContentProtection elements and name spaces for Marlin DRM and DASH-IF ClearKey

### Fixed

- ContentProtection and other parts of RepresentationBaseType moved before other elements in AdaptationSet and Representation

## [0.10.0] - 2023-05-26

### Changed
Expand Down
5 changes: 5 additions & 0 deletions mpd/mpd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ func TestDecodeEncodeMPDs(t *testing.T) {
inTree, err := xmltree.Parse(td)
require.NoError(t, err)
outTree, err := xmltree.Parse(out)
if fName == "multi-drm.mpd" {
ofh, err := os.Create(fName)
require.NoError(t, err)
_, _ = ofh.Write(out)
}
require.NoError(t, err)
if !xmltree.Equal(inTree, outTree) {
inBuf := bytes.Buffer{}
Expand Down

0 comments on commit 87a2b9d

Please sign in to comment.