mirror of https://bitbucket.org/ausocean/av.git
mts: UCed some words and any std => standard
This commit is contained in:
parent
b75dfaa4de
commit
a63013ca4a
|
@ -38,7 +38,7 @@ import (
|
||||||
|
|
||||||
// Some common manifestations of PSI
|
// Some common manifestations of PSI
|
||||||
var (
|
var (
|
||||||
// PSI struct to represent basic pat.
|
// PSI struct to represent basic PAT.
|
||||||
StandardPat = psi.PSI{
|
StandardPat = psi.PSI{
|
||||||
Pf: 0x00,
|
Pf: 0x00,
|
||||||
Tid: 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{
|
StandardPmt = psi.PSI{
|
||||||
Pf: 0x00,
|
Pf: 0x00,
|
||||||
Tid: 0x02,
|
Tid: 0x02,
|
||||||
|
@ -71,7 +71,7 @@ var (
|
||||||
Sn: 0,
|
Sn: 0,
|
||||||
Lsn: 0,
|
Lsn: 0,
|
||||||
Sd: &psi.PMT{
|
Sd: &psi.PMT{
|
||||||
Pcrpid: 0x0100, // wrong
|
Pcrpid: 0x0100,
|
||||||
Pil: 0,
|
Pil: 0,
|
||||||
Essd: &psi.ESSD{
|
Essd: &psi.ESSD{
|
||||||
St: 0x1b,
|
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{
|
StandardPmtTimeLocation = psi.PSI{
|
||||||
Pf: 0x00,
|
Pf: 0x00,
|
||||||
Tid: 0x02,
|
Tid: 0x02,
|
||||||
|
|
Loading…
Reference in New Issue