mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-05 07:37:20 +08:00
2023-10-27 06:28:27 CST W43D5
This commit is contained in:
@@ -16,7 +16,7 @@ func AvTsMakeString(ts int64) string {
|
||||
}
|
||||
|
||||
// AvTs2str
|
||||
func AvTs2str[T HelperInteger](ts T) string {
|
||||
func AvTs2str[T Integer](ts T) string {
|
||||
return AvTsMakeString(int64(ts))
|
||||
}
|
||||
|
||||
@@ -28,6 +28,6 @@ func AvTsMakeTimeString(ts int64, tb *AVRational) string {
|
||||
}
|
||||
|
||||
// AvTs2timestr
|
||||
func AvTs2timestr[T HelperInteger](ts T, tb *AVRational) string {
|
||||
func AvTs2timestr[T Integer](ts T, tb *AVRational) string {
|
||||
return AvTsMakeTimeString((int64)(ts), tb)
|
||||
}
|
||||
|
Reference in New Issue
Block a user