diff --git a/stream/mts/encoder.go b/stream/mts/encoder.go index 8e43242f..abbc0fac 100644 --- a/stream/mts/encoder.go +++ b/stream/mts/encoder.go @@ -38,7 +38,7 @@ import ( // Some common manifestations of PSI var ( - // PSI struct to represent basic pat. + // PSI struct to represent basic PAT. StandardPat = psi.PSI{ Pf: 0x00, Tid: 0x00, @@ -58,7 +58,7 @@ var ( }, } - // PSI struct to represent basic pmt without descriptors for time and location. + // PSI struct to represent basic PMT without descriptors for time and location. StandardPmt = psi.PSI{ Pf: 0x00, Tid: 0x02, @@ -71,7 +71,7 @@ var ( Sn: 0, Lsn: 0, Sd: &psi.PMT{ - Pcrpid: 0x0100, // wrong + Pcrpid: 0x0100, Pil: 0, Essd: &psi.ESSD{ St: 0x1b, @@ -82,7 +82,7 @@ var ( }, } - // Std pmt with time and location descriptors, time and location fields are zeroed out. + // Standard PMT with time and location descriptors, time and location fields are zeroed out. StandardPmtTimeLocation = psi.PSI{ Pf: 0x00, Tid: 0x02,