container/mts/encoder.go: export PTS frequency.

This commit is contained in:
Saxon 2019-05-11 12:46:31 +09:30
parent 62844809f2
commit 594dca1b21
1 changed files with 5 additions and 2 deletions

View File

@ -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.