mirror of https://bitbucket.org/ausocean/av.git
mts: made standard pat and pmt tables unexported
This commit is contained in:
parent
a63013ca4a
commit
ddf7a94ab8
|
@ -39,7 +39,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,
|
||||||
Ssi: true,
|
Ssi: true,
|
||||||
|
@ -59,7 +59,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,
|
||||||
Ssi: true,
|
Ssi: true,
|
||||||
|
@ -83,7 +83,7 @@ var (
|
||||||
}
|
}
|
||||||
|
|
||||||
// Standard 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,
|
||||||
Ssi: true,
|
Ssi: true,
|
||||||
|
@ -140,8 +140,8 @@ func SetLocation(g string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
patTable = StandardPat.Bytes()
|
patTable = standardPat.Bytes()
|
||||||
pmtTable = StandardPmtTimeLocation.Bytes()
|
pmtTable = standardPmtTimeLocation.Bytes()
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
Loading…
Reference in New Issue