Rename function

This commit is contained in:
Milan Nikolic 2023-09-29 09:50:31 +02:00
parent 7604621870
commit 3f05fc83e0
No known key found for this signature in database
GPG Key ID: 9229D0EAA3AA4E75

View File

@ -235,8 +235,8 @@ func (e *Encoder) Encode(im image.Image) (err error) {
return
}
// GetTimestamp returns the current PTS and DTS.
func (e *Encoder) GetTimestamp() (int64, int64) {
// Timestamp returns the current PTS and DTS.
func (e *Encoder) Timestamp() (int64, int64) {
return e.pts, e.dts
}