mirror of https://bitbucket.org/ausocean/av.git
container/mts: fixed build error
This commit is contained in:
parent
594dca1b21
commit
e2d9853264
|
@ -303,12 +303,12 @@ func (e *Encoder) tick() {
|
|||
|
||||
// pts retuns the current presentation timestamp.
|
||||
func (e *Encoder) pts() uint64 {
|
||||
return uint64((e.clock + e.ptsOffset).Seconds() * pcrFreq)
|
||||
return uint64((e.clock + e.ptsOffset).Seconds() * PTSFreq)
|
||||
}
|
||||
|
||||
// pcr returns the current program clock reference.
|
||||
func (e *Encoder) pcr() uint64 {
|
||||
return uint64(e.clock.Seconds() * pcrFreq)
|
||||
return uint64(e.clock.Seconds() * PCRFreq)
|
||||
}
|
||||
|
||||
// ccFor returns the next continuity counter for pid.
|
||||
|
|
Loading…
Reference in New Issue