// SubTileCount returns the number of available subtitles. func (this *Player) SubTileCount() (int, error) { if this.ptr == nil { return 0, syscall.EINVAL } return int(C.libvlc_video_get_spu_count(this.ptr)), checkError() }
// SubTileCount returns the number of available subtitles. func (this *Player) SubTileCount() (int, error) { if this.ptr == nil { return 0, &VLCError{"Player is nil"} } return int(C.libvlc_video_get_spu_count(this.ptr)), checkError() }