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
|
package psi
|
||||||
|
|
||||||
|
const (
|
||||||
|
pmtTimeGpsPil = 44
|
||||||
|
)
|
||||||
|
|
||||||
// Some common manifestations of PSI
|
// Some common manifestations of PSI
|
||||||
var (
|
var (
|
||||||
// PSI struct to represent basic pat
|
// PSI struct to represent basic pat
|
||||||
|
@ -85,8 +89,8 @@ var (
|
||||||
Sn: 0,
|
Sn: 0,
|
||||||
Lsn: 0,
|
Lsn: 0,
|
||||||
Sd: &PMT{
|
Sd: &PMT{
|
||||||
Pcrpid: 0x0100, // wrong
|
Pcrpid: 0x0100,
|
||||||
Pil: 10,
|
Pil: pmtTimeGpsPil,
|
||||||
Pd: []Desc{
|
Pd: []Desc{
|
||||||
Desc{
|
Desc{
|
||||||
Dt: byte(timeDescTag),
|
Dt: byte(timeDescTag),
|
||||||
|
|
Loading…
Reference in New Issue