Skip to content

Commit

Permalink
fix(deps): update module github.com/at-wat/ebml-go to v0.17.1 (#432)
Browse files Browse the repository at this point in the history
* fix(deps): update module github.com/at-wat/ebml-go to v0.17.1

* Remove trailing null char in test data

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Atsushi Watanabe <[email protected]>
  • Loading branch information
renovate[bot] and at-wat authored Mar 5, 2024
1 parent b6ab8cf commit db2a599
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion examples/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/seqsense/kinesisvideomanager/examples
go 1.15

require (
github.com/at-wat/ebml-go v0.17.0
github.com/at-wat/ebml-go v0.17.1
github.com/aws/aws-sdk-go v1.50.30
github.com/seqsense/kinesisvideomanager v0.0.0
github.com/seqsense/sq-gst-go v0.5.2
Expand Down
4 changes: 2 additions & 2 deletions examples/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/at-wat/ebml-go v0.17.0 h1:A0pribrI2qAajlnd4CIsbz2p6Z5pvw4NGfN7VDbvZ/w=
github.com/at-wat/ebml-go v0.17.0/go.mod h1:w1cJs7zmGsb5nnSvhWGKLCxvfu4FVx5ERvYDIalj1ww=
github.com/at-wat/ebml-go v0.17.1 h1:pWG1NOATCFu1hnlowCzrA1VR/3s8tPY6qpU+2FwW7X4=
github.com/at-wat/ebml-go v0.17.1/go.mod h1:w1cJs7zmGsb5nnSvhWGKLCxvfu4FVx5ERvYDIalj1ww=
github.com/aws/aws-sdk-go v1.50.30 h1:2OelKH1eayeaH7OuL1Y9Ombfw4HK+/k0fEnJNWjyLts=
github.com/aws/aws-sdk-go v1.50.30/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk=
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/seqsense/kinesisvideomanager
go 1.17

require (
github.com/at-wat/ebml-go v0.17.0
github.com/at-wat/ebml-go v0.17.1
github.com/aws/aws-sdk-go v1.50.30
github.com/google/uuid v1.6.0
)
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/at-wat/ebml-go v0.17.0 h1:A0pribrI2qAajlnd4CIsbz2p6Z5pvw4NGfN7VDbvZ/w=
github.com/at-wat/ebml-go v0.17.0/go.mod h1:w1cJs7zmGsb5nnSvhWGKLCxvfu4FVx5ERvYDIalj1ww=
github.com/at-wat/ebml-go v0.17.1 h1:pWG1NOATCFu1hnlowCzrA1VR/3s8tPY6qpU+2FwW7X4=
github.com/at-wat/ebml-go v0.17.1/go.mod h1:w1cJs7zmGsb5nnSvhWGKLCxvfu4FVx5ERvYDIalj1ww=
github.com/aws/aws-sdk-go v1.50.30 h1:2OelKH1eayeaH7OuL1Y9Ombfw4HK+/k0fEnJNWjyLts=
github.com/aws/aws-sdk-go v1.50.30/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk=
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
Expand Down
28 changes: 14 additions & 14 deletions provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ func TestProvider(t *testing.T) {
return false
}
expectedDump := []byte{
0x1a, 0x45, 0xdf, 0xa3, 0xa4, // EBML
0x1a, 0x45, 0xdf, 0xa3, 0xa3, // EBML
0x42, 0x86, 0x81, 0x01, // EBMLVersion
0x42, 0xf7, 0x81, 0x01, // ReadVersion
0x42, 0xf2, 0x81, 0x04, // MaxIDLength
Expand Down Expand Up @@ -238,35 +238,35 @@ func TestProvider(t *testing.T) {
return false
}
expectedDump := []byte{
0x1a, 0x45, 0xdf, 0xa3, 0xa4, // EBML
0x1a, 0x45, 0xdf, 0xa3, 0xa3, // EBML
0x42, 0x86, 0x81, 0x01, // EBMLVersion
0x42, 0xf7, 0x81, 0x01, // ReadVersion
0x42, 0xf2, 0x81, 0x04, // MaxIDLength
0x42, 0xf3, 0x81, 0x08, // MaxSizeLength
0x42, 0x82, 0x89, 0x6d, 0x61, 0x74, 0x72, 0x6f, 0x73, 0x6b, 0x61, 0x00, // DocType
0x42, 0x82, 0x88, 0x6d, 0x61, 0x74, 0x72, 0x6f, 0x73, 0x6b, 0x61, // DocType
0x42, 0x87, 0x81, 0x02, // DocTypeVersion
0x42, 0x85, 0x81, 0x02, // DocTypeReadVersion
0x18, 0x53, 0x80, 0x67, 0x01, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, // Segment
0x15, 0x49, 0xa9, 0x66, 0xf2, // Info
0x15, 0x49, 0xa9, 0x66, 0xee, // Info
0x2a, 0xd7, 0xb1, 0x83, 0x0f, 0x42, 0x40, // TimecodeScale
0x73, 0xa4, 0x84, 0x00, 0x01, 0x02, 0x03, // SegmentUID
0x73, 0x84, 0x81, 0x00, // SegmentFilename
0x7b, 0xa9, 0x9d, 0x6b, 0x69, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x00, // Title
0x4d, 0x80, 0x9d, 0x6b, 0x69, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x00, // MuxingApp
0x57, 0x41, 0x9d, 0x6b, 0x69, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x00, // WritingApp
0x73, 0x84, 0x80, // SegmentFilename
0x7b, 0xa9, 0x9c, 0x6b, 0x69, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, // Title
0x4d, 0x80, 0x9c, 0x6b, 0x69, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, // MuxingApp
0x57, 0x41, 0x9c, 0x6b, 0x69, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, // WritingApp
0x16, 0x54, 0xae, 0x6b, 0x80, // Tracks
0x1f, 0x43, 0xb6, 0x75, 0x01, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, // Cluster
0xe7, 0x82, 0x00, 0x00, // Timecode
0xa3, 0x86, 0x81, 0x00, 0x00, 0x00, 0x01, 0x02, // SimpleBlock
0xa3, 0x86, 0x81, 0x00, 0x01, 0x00, 0x01, 0x02, // SimpleBlock
0x12, 0x54, 0xc3, 0x67, 0x97, // Tags
0x73, 0x73, 0x94, // Tag
0x67, 0xc8, 0x91, // SimpleTag
0x45, 0xa3, 0x89, 0x54, 0x45, 0x53, 0x54, 0x5f, 0x54, 0x41, 0x47, 0x00, // TagName
0x44, 0x87, 0x82, 0x32, 0x00, // TagString
0x12, 0x54, 0xc3, 0x67, 0x95, // Tags
0x73, 0x73, 0x92, // Tag
0x67, 0xc8, 0x8f, // SimpleTag
0x45, 0xa3, 0x88, 0x54, 0x45, 0x53, 0x54, 0x5f, 0x54, 0x41, 0x47, // TagName
0x44, 0x87, 0x81, 0x32, // TagString
}
dump := fe.Dump()
dump[191], dump[192] = 0, 0 // clear Timecode
dump[186], dump[187] = 0, 0 // clear Timecode
if !bytes.Equal(expectedDump, dump) {
t.Errorf("Expected dump:\n%v\ngot:\n%v", expectedDump, dump)
}
Expand Down

0 comments on commit db2a599

Please sign in to comment.