diff --git a/stream/mts/encoder.go b/stream/mts/encoder.go index 6b406536..093dbee5 100644 --- a/stream/mts/encoder.go +++ b/stream/mts/encoder.go @@ -251,7 +251,8 @@ func (e *Encoder) ccFor(pid int) byte { 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 { p := psi.PSIBytes(*b) err := p.AddDescriptor(psi.MetadataTag, Meta.Encode())