mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-21 16:55:38 +03:00
[chore]: Bump github.com/abema/go-mp4 from 0.12.0 to 0.13.0 (#2113)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
parent
8f4b779b2d
commit
5a4ceebcbd
4 changed files with 57 additions and 4 deletions
2
go.mod
2
go.mod
|
@ -18,7 +18,7 @@ require (
|
|||
codeberg.org/gruf/go-store/v2 v2.2.2
|
||||
github.com/DmitriyVTitov/size v1.5.0
|
||||
github.com/KimMachineGun/automemlimit v0.2.6
|
||||
github.com/abema/go-mp4 v0.12.0
|
||||
github.com/abema/go-mp4 v0.13.0
|
||||
github.com/buckket/go-blurhash v1.1.0
|
||||
github.com/coreos/go-oidc/v3 v3.6.0
|
||||
github.com/disintegration/imaging v1.6.2
|
||||
|
|
4
go.sum
4
go.sum
|
@ -92,8 +92,8 @@ github.com/DmitriyVTitov/size v1.5.0/go.mod h1:le6rNI4CoLQV1b9gzp1+3d7hMAD/uu2Qc
|
|||
github.com/KimMachineGun/automemlimit v0.2.6 h1:tQFriVTcIteUkV5EgU9iz03eDY36T8JU5RAjP2r6Kt0=
|
||||
github.com/KimMachineGun/automemlimit v0.2.6/go.mod h1:pJhTW/nWJMj6SnWSU2TEKSlCaM+1N5Mej+IfS/5/Ol0=
|
||||
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
|
||||
github.com/abema/go-mp4 v0.12.0 h1:XI9PPt1BpjB3wFl18oFiX6C99uesx7F/X13Z+ga8bYY=
|
||||
github.com/abema/go-mp4 v0.12.0/go.mod h1:vPl9t5ZK7K0x68jh12/+ECWBCXoWuIDtNgPtU2f04ws=
|
||||
github.com/abema/go-mp4 v0.13.0 h1:gjEZLt7g0ePpYA5sUDrI2r8X+WuI8o+USkgG5wMgmkI=
|
||||
github.com/abema/go-mp4 v0.13.0/go.mod h1:vPl9t5ZK7K0x68jh12/+ECWBCXoWuIDtNgPtU2f04ws=
|
||||
github.com/ajg/form v1.5.1 h1:t9c7v8JUKu/XxOGBU0yjNpaMloxGEJhUkqFRq0ibGeU=
|
||||
github.com/ajg/form v1.5.1/go.mod h1:uL1WgH+h2mgNtvBq0339dVnzXdBETtL2LeUXaIv25UY=
|
||||
github.com/andybalholm/brotli v1.0.0/go.mod h1:loMXtMfwqflxFJPmdbJO0a3KNoPuLBgiu3qAvBg8x/Y=
|
||||
|
|
53
vendor/github.com/abema/go-mp4/box_types_vp.go
generated
vendored
Normal file
53
vendor/github.com/abema/go-mp4/box_types_vp.go
generated
vendored
Normal file
|
@ -0,0 +1,53 @@
|
|||
package mp4
|
||||
|
||||
// https://www.webmproject.org/vp9/mp4/
|
||||
|
||||
/*************************** vp08 ****************************/
|
||||
|
||||
func BoxTypeVp08() BoxType { return StrToBoxType("vp08") }
|
||||
|
||||
func init() {
|
||||
AddAnyTypeBoxDef(&VisualSampleEntry{}, BoxTypeVp08())
|
||||
}
|
||||
|
||||
/*************************** vp09 ****************************/
|
||||
|
||||
func BoxTypeVp09() BoxType { return StrToBoxType("vp09") }
|
||||
|
||||
func init() {
|
||||
AddAnyTypeBoxDef(&VisualSampleEntry{}, BoxTypeVp09())
|
||||
}
|
||||
|
||||
/*************************** VpcC ****************************/
|
||||
|
||||
func BoxTypeVpcC() BoxType { return StrToBoxType("vpcC") }
|
||||
|
||||
func init() {
|
||||
AddBoxDef(&VpcC{})
|
||||
}
|
||||
|
||||
type VpcC struct {
|
||||
FullBox `mp4:"0,extend"`
|
||||
Profile uint8 `mp4:"1,size=8"`
|
||||
Level uint8 `mp4:"2,size=8"`
|
||||
BitDepth uint8 `mp4:"3,size=4"`
|
||||
ChromaSubsampling uint8 `mp4:"4,size=3"`
|
||||
VideoFullRangeFlag uint8 `mp4:"5,size=1"`
|
||||
ColourPrimaries uint8 `mp4:"6,size=8"`
|
||||
TransferCharacteristics uint8 `mp4:"7,size=8"`
|
||||
MatrixCoefficients uint8 `mp4:"8,size=8"`
|
||||
CodecInitializationDataSize uint16 `mp4:"9,size=16"`
|
||||
CodecInitializationData []uint8 `mp4:"10,size=8,len=dynamic"`
|
||||
}
|
||||
|
||||
func (VpcC) GetType() BoxType {
|
||||
return BoxTypeVpcC()
|
||||
}
|
||||
|
||||
func (vpcc VpcC) GetFieldLength(name string, ctx Context) uint {
|
||||
switch name {
|
||||
case "CodecInitializationData":
|
||||
return uint(vpcc.CodecInitializationDataSize)
|
||||
}
|
||||
return 0
|
||||
}
|
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
|
@ -77,7 +77,7 @@ github.com/DmitriyVTitov/size
|
|||
## explicit; go 1.19
|
||||
github.com/KimMachineGun/automemlimit
|
||||
github.com/KimMachineGun/automemlimit/memlimit
|
||||
# github.com/abema/go-mp4 v0.12.0
|
||||
# github.com/abema/go-mp4 v0.13.0
|
||||
## explicit; go 1.14
|
||||
github.com/abema/go-mp4
|
||||
github.com/abema/go-mp4/bitio
|
||||
|
|
Loading…
Reference in a new issue