mirror of https://bitbucket.org/ausocean/av.git
stream/mts/encoder.go: finished comment for updateMeta function
This commit is contained in:
parent
1570974ab7
commit
0a96d18a10
|
@ -251,7 +251,8 @@ func (e *Encoder) ccFor(pid int) byte {
|
||||||
return cc
|
return cc
|
||||||
}
|
}
|
||||||
|
|
||||||
// updateMeta ...
|
// updateMeta adds/updates a metaData descriptor in the given psi bytes using data
|
||||||
|
// contained in the global Meta struct.
|
||||||
func updateMeta(b *[]byte) error {
|
func updateMeta(b *[]byte) error {
|
||||||
p := psi.PSIBytes(*b)
|
p := psi.PSIBytes(*b)
|
||||||
err := p.AddDescriptor(psi.MetadataTag, Meta.Encode())
|
err := p.AddDescriptor(psi.MetadataTag, Meta.Encode())
|
||||||
|
|
Loading…
Reference in New Issue