Skip to content

Commit

Permalink
Merge pull request #341 from Eyevinn/v0.43.0
Browse files Browse the repository at this point in the history
V0.43.0
  • Loading branch information
tobbee authored Apr 4, 2024
2 parents dd11933 + 2c1d3aa commit bb8cefa
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 16 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- Nothing yet

## [0.43.0] - 2024-04-04

### Added

- InitSegment.TweakSingleTrakLive changes an init segment to fit live streaming
Expand All @@ -25,7 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- kind box full-box header
- stpp support when the optional fields do not even have a zero-termination byte
- stpp support when the optional fields do not have a zero-termination byte
- mp4ff-wvttlister now lists all boxes in a sample

## [0.42.0] - 2024-01-26
Expand Down Expand Up @@ -558,7 +562,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- New unique repo name: `mp4ff`

[Unreleased]: https://github.com/Eyevinn/mp4ff/compare/v0.42.0...HEAD
[Unreleased]: https://github.com/Eyevinn/mp4ff/compare/v0.43.0...HEAD
[0.43.0]: https://github.com/Eyevinn/mp4ff/compare/v0.42.0...v0.43.0
[0.42.0]: https://github.com/Eyevinn/mp4ff/compare/v0.41.0...v0.42.0
[0.41.0]: https://github.com/Eyevinn/mp4ff/compare/v0.40.2...v0.41.0
[0.40.2]: https://github.com/Eyevinn/mp4ff/compare/v0.40.1...v0.40.2
Expand Down
3 changes: 0 additions & 3 deletions mp4/boxsr.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,6 @@ LoopBoxes:
return nil, err
}
boxType, boxSize := box.Type(), box.Size()
if err != nil {
return nil, err
}
switch boxType {
case "mdat":
if f.isFragmented {
Expand Down
12 changes: 3 additions & 9 deletions mp4/initsegment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,13 @@ const pps1nalu = "685bdf20"
func parseInitFile(fileName string) (*File, error) {
fd, err := os.Open(fileName)
if err != nil {
if err != nil {
return nil, err
}
return nil, err
}
defer fd.Close()

f, err := DecodeFile(fd)
if err != io.EOF && err != nil {
if err != nil {
return nil, err
}
return nil, err
}
if f.IsFragmented() && f.Init.Ftyp == nil {
return nil, fmt.Errorf("No ftyp present")
Expand Down Expand Up @@ -175,9 +171,7 @@ func TestGenerateInitSegment(t *testing.T) {

initRead, err := DecodeFile(&buf)
if err != io.EOF && err != nil {
if err != nil {
t.Error(err)
}
t.Error(err)
}
if initRead.Moov.Size() != init.Moov.Size() {
t.Errorf("Mismatch generated vs read moov size: %d != %d", init.Moov.Size(), initRead.Moov.Size())
Expand Down
4 changes: 2 additions & 2 deletions mp4/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
)

var (
commitVersion string = "v0.42.0" // May be updated using build flags
commitDate string = "1706273015" // commitDate in Epoch seconds (may be overridden using build flags)
commitVersion string = "v0.43.0" // May be updated using build flags
commitDate string = "1712251234" // commitDate in Epoch seconds (may be overridden using build flags)
)

// GetVersion - get version and also commitHash and commitDate if inserted via Makefile
Expand Down

0 comments on commit bb8cefa

Please sign in to comment.