From 0a96d18a10a7c65b0b171f28c9e1fd07809a8b30 Mon Sep 17 00:00:00 2001 From: saxon Date: Mon, 4 Feb 2019 22:17:39 +1030 Subject: [PATCH] stream/mts/encoder.go: finished comment for updateMeta function --- stream/mts/encoder.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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())