mirror of https://bitbucket.org/ausocean/av.git
container/mts/encoder.go: export PTS frequency.
This commit is contained in:
parent
62844809f2
commit
594dca1b21
|
@ -120,8 +120,11 @@ const (
|
||||||
// the current presentation timestamp.
|
// the current presentation timestamp.
|
||||||
ptsOffset = 700 * time.Millisecond
|
ptsOffset = 700 * time.Millisecond
|
||||||
|
|
||||||
// pcrFreq is the base Program Clock Reference frequency.
|
// PCRFreq is the base Program Clock Reference frequency.
|
||||||
pcrFreq = 90000 // Hz
|
PCRFreq = 90000 // Hz
|
||||||
|
|
||||||
|
// PTSFreq is the presentation timestamp frequency.
|
||||||
|
PTSFreq = 90000
|
||||||
)
|
)
|
||||||
|
|
||||||
// Encoder encapsulates properties of an mpegts generator.
|
// Encoder encapsulates properties of an mpegts generator.
|
||||||
|
|
Loading…
Reference in New Issue