Updated Documentation
This commit is contained in:
parent
f6eaee9f1f
commit
f1c7d31a29
4 changed files with 14 additions and 3 deletions
4
video.go
4
video.go
|
@ -45,7 +45,7 @@ func (video *Video) Depth() int {
|
|||
return video.depth
|
||||
}
|
||||
|
||||
// Bitrate of video.
|
||||
// Bitrate of video in bits/s.
|
||||
func (video *Video) Bitrate() int {
|
||||
return video.bitrate
|
||||
}
|
||||
|
@ -60,10 +60,12 @@ func (video *Video) Stream() int {
|
|||
return video.stream
|
||||
}
|
||||
|
||||
// Video duration in seconds.
|
||||
func (video *Video) Duration() float64 {
|
||||
return video.duration
|
||||
}
|
||||
|
||||
// Frames per second of video.
|
||||
func (video *Video) FPS() float64 {
|
||||
return video.fps
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue