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
|
||||
var (
|
||||
// PSI struct to represent basic PAT.
|
||||
StandardPat = psi.PSI{
|
||||
standardPat = psi.PSI{
|
||||
Pf: 0x00,
|
||||
Tid: 0x00,
|
||||
Ssi: true,
|
||||
|
@ -59,7 +59,7 @@ var (
|
|||
}
|
||||
|
||||
// PSI struct to represent basic PMT without descriptors for time and location.
|
||||
StandardPmt = psi.PSI{
|
||||
standardPmt = psi.PSI{
|
||||
Pf: 0x00,
|
||||
Tid: 0x02,
|
||||
Ssi: true,
|
||||
|
@ -83,7 +83,7 @@ var (
|
|||
}
|
||||
|
||||
// Standard PMT with time and location descriptors, time and location fields are zeroed out.
|
||||
StandardPmtTimeLocation = psi.PSI{
|
||||
standardPmtTimeLocation = psi.PSI{
|
||||
Pf: 0x00,
|
||||
Tid: 0x02,
|
||||
Ssi: true,
|
||||
|
@ -140,8 +140,8 @@ func SetLocation(g string) {
|
|||
}
|
||||
|
||||
var (
|
||||
patTable = StandardPat.Bytes()
|
||||
pmtTable = StandardPmtTimeLocation.Bytes()
|
||||
patTable = standardPat.Bytes()
|
||||
pmtTable = standardPmtTimeLocation.Bytes()
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
Loading…
Reference in New Issue