mirror of https://bitbucket.org/ausocean/av.git
psi: created const for pmt with time and gps program inormation length
This commit is contained in:
parent
283689ea6c
commit
fe2c5d1033
|
@ -26,6 +26,10 @@ LICENSE
|
|||
|
||||
package psi
|
||||
|
||||
const (
|
||||
pmtTimeGpsPil = 44
|
||||
)
|
||||
|
||||
// Some common manifestations of PSI
|
||||
var (
|
||||
// PSI struct to represent basic pat
|
||||
|
@ -85,8 +89,8 @@ var (
|
|||
Sn: 0,
|
||||
Lsn: 0,
|
||||
Sd: &PMT{
|
||||
Pcrpid: 0x0100, // wrong
|
||||
Pil: 10,
|
||||
Pcrpid: 0x0100,
|
||||
Pil: pmtTimeGpsPil,
|
||||
Pd: []Desc{
|
||||
Desc{
|
||||
Dt: byte(timeDescTag),
|
||||
|
|
Loading…
Reference in New Issue