broken frame is 128/80

This commit is contained in:
j 2011-02-23 16:09:05 +01:00
parent 88df4a3ee6
commit 1be2e6108a

View file

@ -331,7 +331,7 @@ class Item(models.Model):
if 'video' in s.info and s.info['video']:
stream['aspectRatio'] = s.info['video'][0]['width'] / s.info['video'][0]['height']
else:
stream['aspectRatio'] = 4/3
stream['aspectRatio'] = 128/80
if settings.XSENDFILE or settings.XACCELREDIRECT:
stream['baseUrl'] = '/%s' % self.itemId
else: