mirror of
https://github.com/gen2brain/x264-go.git
synced 2024-09-10 09:31:13 +08:00
Rename function
This commit is contained in:
parent
7604621870
commit
3f05fc83e0
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user