From e2d9853264b9463d1a3a08dcfc0d971f430b2298 Mon Sep 17 00:00:00 2001 From: Saxon Date: Sat, 11 May 2019 12:49:31 +0930 Subject: [PATCH] container/mts: fixed build error --- container/mts/encoder.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/container/mts/encoder.go b/container/mts/encoder.go index 96cde642..83a7b403 100644 --- a/container/mts/encoder.go +++ b/container/mts/encoder.go @@ -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.