broken frame is 128/80

This commit is contained in:
j 2011-02-23 16:09:05 +01:00
parent 28bc942921
commit be02b6ea45

View file

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