MCPcopy Create free account
hub / github.com/Monibuca/engine / GetPTS32

Method GetPTS32

track/reader-av.go:162–164  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

160 return
161}
162func (r *AVRingReader) GetPTS32() uint32 {
163 return uint32((r.Value.PTS - r.SkipTs*90/time.Millisecond))
164}
165func (r *AVRingReader) GetDTS32() uint32 {
166 return uint32((r.Value.DTS - r.SkipTs*90/time.Millisecond))
167}

Callers 1

PlayBlockMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected