From 594dca1b2120b16dce78efd02ed5e4fb7b5f88eb Mon Sep 17 00:00:00 2001 From: Saxon Date: Sat, 11 May 2019 12:46:31 +0930 Subject: [PATCH] container/mts/encoder.go: export PTS frequency. --- container/mts/encoder.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/container/mts/encoder.go b/container/mts/encoder.go index e9efbd97..96cde642 100644 --- a/container/mts/encoder.go +++ b/container/mts/encoder.go @@ -120,8 +120,11 @@ const ( // the current presentation timestamp. ptsOffset = 700 * time.Millisecond - // pcrFreq is the base Program Clock Reference frequency. - pcrFreq = 90000 // Hz + // PCRFreq is the base Program Clock Reference frequency. + PCRFreq = 90000 // Hz + + // PTSFreq is the presentation timestamp frequency. + PTSFreq = 90000 ) // Encoder encapsulates properties of an mpegts generator.