// Fps returns the current movie frame rate. func (this *Player) Fps() (float32, error) { if this.ptr == nil { return 0, syscall.EINVAL } return float32(C.libvlc_media_player_get_fps(this.ptr)), checkError() }
// Fps returns the current movie frame rate. func (this *Player) Fps() (float32, error) { if this.ptr == nil { return 0, &VLCError{"Player is nil"} } return float32(C.libvlc_media_player_get_fps(this.ptr)), checkError() }