projects
/
lilass.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix aspect ratio shown for 720x480
[lilass.git]
/
screen.py
diff --git
a/screen.py
b/screen.py
index a95d45dc8d19cd4f8a39715baa2332e323899786..160efecaa6d95b2915657ad0d81b6abb646701a2 100644
(file)
--- a/
screen.py
+++ b/
screen.py
@@
-87,7
+87,9
@@
class Resolution:
def __str__(self):
# get ratio
ratio = int(round(16.0*self.height/self.width))
def __str__(self):
# get ratio
ratio = int(round(16.0*self.height/self.width))
- if ratio == 12: # 16:12 = 4:3
+ if ratio == 11: # 16:10.66 = 3:2
+ strRatio = "3:2"
+ elif ratio == 12: # 16:12 = 4:3
strRatio = '4:3'
elif ratio == 13: # 16:12.8 = 5:4
strRatio = '5:4'
strRatio = '4:3'
elif ratio == 13: # 16:12.8 = 5:4
strRatio = '5:4'