diff --git a/stream/mts/encoder.go b/stream/mts/encoder.go index 9e0bcc6f..29875588 100644 --- a/stream/mts/encoder.go +++ b/stream/mts/encoder.go @@ -39,7 +39,7 @@ import ( // Some common manifestations of PSI var ( - // PSI struct to represent basic PAT. + // PSI struct to represent a bare minimum PAT. standardPat = psi.PSI{ Pf: 0x00, Tid: 0x00, @@ -59,7 +59,7 @@ var ( }, } - // PSI struct to represent basic PMT without descriptors for time and location. + // PSI struct to represent a bare minimum PMT without descriptors for time and location. standardPmt = psi.PSI{ Pf: 0x00, Tid: 0x02, @@ -125,8 +125,7 @@ const ( psiSendCount = 7 ) -// TimeLocation can hold time and location data for the insertion into mpegts -// packets. +// timeLocation holds time and location data type timeLocation struct { sync.RWMutex time uint64